# IntelligenceXVisualFenceOptions

Typed IntelligenceX visual fence metadata layered on top of MarkdownCodeFenceInfo.

Class 

`OfficeIMO.MarkdownRenderer.IntelligenceX`

**Namespace**

`OfficeIMO.MarkdownRenderer.IntelligenceX`

**Assembly**

`OfficeIMO.MarkdownRenderer.IntelligenceX`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[IntelligenceXVisualFenceOptions.cs:68](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.MarkdownRenderer.IntelligenceX/IntelligenceXVisualFenceOptions.cs#L68)

**Modifiers**

sealed

Typed IntelligenceX visual fence metadata layered on top of MarkdownCodeFenceInfo.

## Inheritance

- object
- IntelligenceXVisualFenceOptions

## Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 2

- Method [IntelligenceXMarkdownRenderer.ParseVisualFenceOptions](/api/markdown-renderer-intelligence-x/officeimo-markdownrenderer-intelligencex-intelligencexmarkdownrenderer/#method-parsevisualfenceoptions-string)
- Method [IntelligenceXVisualFenceOptions.Parse](/api/markdown-renderer-intelligence-x/officeimo-markdownrenderer-intelligencex-intelligencexvisualfenceoptions/#method-parse-string)

Filter members 

Show inherited

## Methods

`public bool HasClass(string className)` [#](#method-hasclass-string)

[IntelligenceXVisualFenceOptions.cs:68](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.MarkdownRenderer.IntelligenceX/IntelligenceXVisualFenceOptions.cs#L68)

Determines whether the parsed metadata contains the given CSS class.

Parameters

**className string required**

Returns

`bool`

Parse 2 overloads

`public static IntelligenceXVisualFenceOptions Parse(string? infoString)` [#](#method-parse-string)

[IntelligenceXVisualFenceOptions.cs:85](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.MarkdownRenderer.IntelligenceX/IntelligenceXVisualFenceOptions.cs#L85)

Parses typed IntelligenceX visual fence metadata from a raw fenced-code info string.

Parameters

**infoString string? required**

Returns

`IntelligenceXVisualFenceOptions`

`public static IntelligenceXVisualFenceOptions Parse(MarkdownCodeFenceInfo? fenceInfo)` [#](#method-parse-officeimo-markdown-markdowncodefenceinfo)

[IntelligenceXVisualFenceOptions.cs:92](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.MarkdownRenderer.IntelligenceX/IntelligenceXVisualFenceOptions.cs#L92)

Parses typed IntelligenceX visual fence metadata from a shared fenced-code info descriptor.

Parameters

**fenceInfo OfficeIMO.Markdown.MarkdownCodeFenceInfo? required**

Returns

`IntelligenceXVisualFenceOptions`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string Language { get; }` [#](#property-language)

[IntelligenceXVisualFenceOptions.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.MarkdownRenderer.IntelligenceX/IntelligenceXVisualFenceOptions.cs#L35)

Primary fence language token.

`public string InfoString { get; }` [#](#property-infostring)

[IntelligenceXVisualFenceOptions.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.MarkdownRenderer.IntelligenceX/IntelligenceXVisualFenceOptions.cs#L38)

Full normalized fence info string.

`public string? ElementId { get; }` [#](#property-elementid)

[IntelligenceXVisualFenceOptions.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.MarkdownRenderer.IntelligenceX/IntelligenceXVisualFenceOptions.cs#L41)

Optional element id parsed from the source fence metadata.

`public IReadOnlyList<string> Classes { get; }` [#](#property-classes)

[IntelligenceXVisualFenceOptions.cs:44](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.MarkdownRenderer.IntelligenceX/IntelligenceXVisualFenceOptions.cs#L44)

Optional CSS classes parsed from the source fence metadata.

`public string? Title { get; }` [#](#property-title)

[IntelligenceXVisualFenceOptions.cs:47](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.MarkdownRenderer.IntelligenceX/IntelligenceXVisualFenceOptions.cs#L47)

Optional visual title resolved from the source fence metadata.

`public bool Pinned { get; }` [#](#property-pinned)

[IntelligenceXVisualFenceOptions.cs:50](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.MarkdownRenderer.IntelligenceX/IntelligenceXVisualFenceOptions.cs#L50)

Whether the fence metadata explicitly pins the visual in host layouts.

`public string? Theme { get; }` [#](#property-theme)

[IntelligenceXVisualFenceOptions.cs:53](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.MarkdownRenderer.IntelligenceX/IntelligenceXVisualFenceOptions.cs#L53)

Optional theme or palette selector.

`public string? Variant { get; }` [#](#property-variant)

[IntelligenceXVisualFenceOptions.cs:56](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.MarkdownRenderer.IntelligenceX/IntelligenceXVisualFenceOptions.cs#L56)

Optional named variant selector.

`public string? View { get; }` [#](#property-view)

[IntelligenceXVisualFenceOptions.cs:59](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.MarkdownRenderer.IntelligenceX/IntelligenceXVisualFenceOptions.cs#L59)

Optional named view or mode selector.

`public int? MaxItems { get; }` [#](#property-maxitems)

[IntelligenceXVisualFenceOptions.cs:62](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.MarkdownRenderer.IntelligenceX/IntelligenceXVisualFenceOptions.cs#L62)

Optional host-defined item limit parsed from common aliases.

<!-- PowerForge markdown artifact sha256:7FBFA69C9872D4FDD0638D88BAAB3755E20669EAD4FDF56EF701B9EF764B7D78 -->
