WatermarkUILayer
Displays the configured image or text watermark for the current section in paged layout.
Definition
Namespace:Telerik.WinForms.Documents.UI.Layers
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class WatermarkUILayer : ProviderUILayerBase, IUILayer
Inheritance: objectProviderUILayerBaseWatermarkUILayer
Implements:
Inherited Members
Constructors
public WatermarkUILayer()
Properties
Gets the identifier used to register the watermark layer.
public override string Name { get; }
Overrides:
Gets whether presenter-level section clipping is applied; this layer uses the watermark provider's page clip instead.
public override bool ShouldClip { get; }
Overrides:
Methods
Enumerates the watermark provider for the current section's slice head in paged layout.
protected override IEnumerable<IUIProvider> EnumerateVisibleProviders()
IEnumerable<IUIProvider>
The current section's watermark provider, or no providers outside paged layout.
Overrides:
Gets the registered watermark provider for a section slice head, creating and registering one when needed.
protected WatermarkUIProvider GetAssociatedUIProvider(SectionLayoutBox sectionBox)
The section slice head whose watermark is represented.
Returns:The provider associated with sectionBox.
Detaches the provider's visual and releases its watermark resources to the provider registry.
protected override void RemoveUIProvider(IUIProvider provider)
The watermark provider to remove.
Overrides:
Updates visible providers and applies the current page's clipping geometry to the layer container.
protected override void UpdateUI()
Overrides: