WatermarkUIProvider
Represents a UI provider for managing watermarks in Telerik documents.
Definition
Namespace:Telerik.Windows.Documents.UI.UIProviders
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class WatermarkUIProvider : IUIProvider
Inheritance: objectWatermarkUIProvider
Implements:
Constructors
Properties
Gets the bounding rectangle for the watermark UI provider, which defines the area in which the watermark will be displayed.
public RectangleF BoundingRectangle { get; }
Implements:
ClippingGeometry
Geometry
Gets the clipping geometry used for the watermark.
public Geometry ClippingGeometry { get; }
Gets the containing layer of the watermark UI provider.
public IUILayer ContainingLayer { get; set; }
Implements:
Gets the current header for the watermark UI provider.
public Header CurrentHeader { get; }
Gets the current update context for the watermark UI provider.
public UILayerUpdateContext CurrentUpdateContext { get; }
Gets a value indicating whether the watermark UI provider has been invalidated.
public bool IsInvalidated { get; }
Implements:
Gets a value indicating whether the watermark has been removed.
public bool IsRemoved { get; }
Implements:
Represents a section box in the Watermark UI provider, which is used to define the area for displaying a watermark in a document section.
public SectionLayoutBox SectionBox { get; }
Methods
Arranges the watermark UI based on the provided update context.
public void Arrange(UILayerUpdateContext uILayerUpdateContext)
The context that provides information for updating the UI layer.
Implements:
Retrieves the UI elements associated with the watermark provider.
public IEnumerable<UIElement> GetUIElements(UILayerUpdateContext context)
The context used for updating the UI layer.
Returns:IEnumerable<UIElement>
A collection of UI elements related to the watermark.
Implements:
Releases the elements associated with the Watermark UI provider.
public void ReleaseElements()
Implements:
Updates the user interface for the watermark provider based on the given update context.
public void UpdateUI(UILayerUpdateContext uILayerUpdateContext)
The context that contains information about the UI layer update.
Implements: