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

Attaches the current section's page or web-layout surface to the document presenter.

Definition

Constructors

C#
public PagesUILayer()

Properties

Gets the identifier used to register the page-surface layer.

C#
public override string Name { get; }

Overrides: ProviderUILayerBase.Name

Gets whether presenter-level section clipping is applied; this layer returns false.

C#
public override bool ShouldClip { get; }

Overrides: ProviderUILayerBase.ShouldClip

Methods

Enumerates the page-surface provider for the current section, if an update context is available.

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

IEnumerable<IUIProvider>

The provider associated with the current section.

Overrides: ProviderUILayerBase.EnumerateVisibleProviders()

Gets the registered page-surface provider for a section, creating and registering one when needed.

C#
protected PageUIProvider GetAssociatedUIProvider(SectionLayoutBox sectionBox)
Parameters:sectionBoxSectionLayoutBox

The section layout box whose page or web-layout surface is represented.

Returns:

PageUIProvider

The provider associated with sectionBox.

Detaches the provider's visual and releases its page surface to the provider registry.

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

The page-surface provider to remove.

Overrides: ProviderUILayerBase.RemoveUIProvider(IUIProvider)