ProviderUILayerBase
Represents the base class for UI layer providers in the Telerik Windows Documents framework.
Definition
Namespace:Telerik.Windows.Documents.UI.Layers
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public abstract class ProviderUILayerBase : IUILayer
Inheritance: objectProviderUILayerBase
Derived Classes:
Implements:
Constructors
public ProviderUILayerBase()
Properties
Gets the current update context for the Provider UI Layer.
public UILayerUpdateContext CurrentUpdateContext { get; }
Gets or sets a value indicating whether hit testing is enabled for this UI layer.
public bool IsHitTestVisible { get; set; }
True if hit testing is enabled; otherwise, false.
Implements:
Gets or sets the name of the UI layer.
public abstract string Name { get; }
The name of the UI layer as a string.
Implements:
Determines whether the clipping of the UI layer should be applied.
public virtual bool ShouldClip { get; }
Implements:
Determines whether the UI layer should be updated when it is not invalidated.
public virtual bool ShouldUpdateWhenNotInvalidated { get; }
Implements:
Gets the user interface registry associated with the ProviderUILayerBase.
public UIProviderRegistry UIRegistry { get; }
Methods
Arranges the child elements of the provider UI layer.
public void ArrangeChildren()
Implements:
This method ensures that all child elements are positioned correctly within the layout.
Clears all child elements from the provider UI layer.
public virtual void ClearChildren()
Implements:
This method is typically used to reset the UI layer, removing all existing child elements and preparing it for new content.
Executes the necessary actions when the presentation is changed.
public virtual void DoOnPresentationChanged()
Implements:
protected abstract IEnumerable<IUIProvider> EnumerateVisibleProviders()
GetLayerUIElement()
UIElement
Retrieves the user interface element associated with the current layer.
public UIElement GetLayerUIElement()
UIElement
The UI element representing the layer. This element can be null if the layer has not been initialized properly.
Implements:
protected virtual bool ShouldRemoveProvider(IUIProvider uiProvider)
protected virtual void UpdateUI()
Updates the viewport of the UI layer based on the specified update context.
public void UpdateViewPort(UILayerUpdateContext context)
The context containing information for updating the UI layer.
Implements: