# HtmlDocumentationExporter.CreateExampleSchemaTabControl

Kind: Method  
Namespace: `Sisk.Documenting.Html`  
Assembly: `Sisk.Documenting.Html.dll`  
Source: https://docs.sisk-framework.org/api/Sisk.Documenting.Html.HtmlDocumentationExporter.CreateExampleSchemaTabControl.html

## CreateExampleSchemaTabControl(string?, string?, string?, string) {#Sisk_Documenting_Html_HtmlDocumentationExporter_CreateExampleSchemaTabControl_System_String_System_String_System_String_System_String_}

Creates a tab control with Example and Schema tabs when both are available.
If only one is available, it renders just that content without tabs.

```csharp
protected virtual HtmlElement? CreateExampleSchemaTabControl(string? example, string? exampleLanguage, string? jsonSchema, string tabId)
```

### Parameters

`example` [string](https://learn.microsoft.com/dotnet/api/system.string)?

The example content, or null if not available.

`exampleLanguage` [string](https://learn.microsoft.com/dotnet/api/system.string)?

The language for syntax highlighting of the example.

`jsonSchema` [string](https://learn.microsoft.com/dotnet/api/system.string)?

The JSON schema content, or null if not available.

`tabId` [string](https://learn.microsoft.com/dotnet/api/system.string)

A unique identifier for this tab control instance.

### Returns

 HtmlElement?

The HTML element representing the tab control or single content block.
