New to Telerik UI for WinForms? Start a free 30-day trial

Creates and updates UI controls that represent structured document tags in the visible layout.

Definition

Constructors

Initializes the content-control factory, positioning manager, and hit-test manager.

C#
public ContentControlsUILayer()

Properties

Gets the identifier used to register the content-controls layer.

C#
public override string Name { get; }

Overrides: ProviderUILayerBase.Name

Methods

Enumerates providers for the content-control contexts generated from the current layout.

C#
protected override IEnumerable<IUIProvider> EnumerateVisibleProviders()
Returns:

IEnumerable<IUIProvider>

The providers for structured document tags in the current view.

Overrides: ProviderUILayerBase.EnumerateVisibleProviders()

Removes the provider's visuals and releases it from the registry by its structured-document-tag context.

C#
protected override void RemoveUIProvider(IUIProvider provider)
Parameters:providerIUIProvider

The content-control provider to remove.

Overrides: ProviderUILayerBase.RemoveUIProvider(IUIProvider)

Removes providers with a missing context, mismatched visual count, cloned or removed paragraphs, or a changed paragraph count.

C#
protected override bool ShouldRemoveProvider(IUIProvider uiProvider)
Parameters:uiProviderIUIProvider

The provider to check.

Returns:

bool

true when the provider must be recreated for the current layout.

Overrides: ProviderUILayerBase.ShouldRemoveProvider(IUIProvider)

Rebuilds the current context map before updating the content-control providers.

C#
protected override void UpdateUI()

Overrides: ProviderUILayerBase.UpdateUI()