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

Displays the configured image or text watermark for the current section in paged layout.

Definition

Constructors

C#
public WatermarkUILayer()

Properties

Gets the identifier used to register the watermark layer.

C#
public override string Name { get; }

Overrides: ProviderUILayerBase.Name

Gets whether presenter-level section clipping is applied; this layer uses the watermark provider's page clip instead.

C#
public override bool ShouldClip { get; }

Overrides: ProviderUILayerBase.ShouldClip

Methods

Enumerates the watermark provider for the current section's slice head in paged layout.

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

IEnumerable<IUIProvider>

The current section's watermark provider, or no providers outside paged layout.

Overrides: ProviderUILayerBase.EnumerateVisibleProviders()

Gets the registered watermark provider for a section slice head, creating and registering one when needed.

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

The section slice head whose watermark is represented.

Returns:

WatermarkUIProvider

The provider associated with sectionBox.

Detaches the provider's visual and releases its watermark resources to the provider registry.

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

The watermark provider to remove.

Overrides: ProviderUILayerBase.RemoveUIProvider(IUIProvider)

Updates visible providers and applies the current page's clipping geometry to the layer container.

C#
protected override void UpdateUI()

Overrides: ProviderUILayerBase.UpdateUI()