Class
ProviderUILayerBase

Represents the base class for UI layer providers in the Telerik Windows Documents framework.

Definition

Constructors

ProviderUILayerBase()

Declaration

cs-api-definition
public ProviderUILayerBase()

Properties

CurrentUpdateContext

Gets the current update context for the Provider UI Layer.

Declaration

cs-api-definition
public UILayerUpdateContext CurrentUpdateContext { get; }

Property Value

UILayerUpdateContext

IsHitTestVisible

Gets or sets a value indicating whether hit testing is enabled for this UI layer.

Declaration

cs-api-definition
public bool IsHitTestVisible { get; set; }

Property Value

bool

True if hit testing is enabled; otherwise, false.

Implements IUILayer.IsHitTestVisible

Name

Gets or sets the name of the UI layer.

Declaration

cs-api-definition
public abstract string Name { get; }

Property Value

string

The name of the UI layer as a string.

Implements IUILayer.Name

ShouldClip

Determines whether the clipping of the UI layer should be applied.

Declaration

cs-api-definition
public virtual bool ShouldClip { get; }

Property Value

bool

Implements IUILayer.ShouldClip

ShouldUpdateWhenNotInvalidated

Determines whether the UI layer should be updated when it is not invalidated.

Declaration

cs-api-definition
public virtual bool ShouldUpdateWhenNotInvalidated { get; }

Property Value

bool

Implements IUILayer.ShouldUpdateWhenNotInvalidated

UIRegistry

Gets the user interface registry associated with the ProviderUILayerBase.

Declaration

cs-api-definition
public UIProviderRegistry UIRegistry { get; }

Property Value

UIProviderRegistry

Methods

ArrangeChildren()

Arranges the child elements of the provider UI layer.

Declaration

cs-api-definition
public void ArrangeChildren()

Implements IUILayer.ArrangeChildren()

Remarks

This method ensures that all child elements are positioned correctly within the layout.

ClearChildren()

Clears all child elements from the provider UI layer.

Declaration

cs-api-definition
public virtual void ClearChildren()

Implements IUILayer.ClearChildren()

Remarks

This method is typically used to reset the UI layer, removing all existing child elements and preparing it for new content.

DoOnPresentationChanged()

Executes the necessary actions when the presentation is changed.

Declaration

cs-api-definition
public virtual void DoOnPresentationChanged()

Implements IUILayer.DoOnPresentationChanged()

EnumerateVisibleProviders()

Declaration

cs-api-definition
protected abstract IEnumerable<IUIProvider> EnumerateVisibleProviders()

Returns

IEnumerable<IUIProvider>

GetLayerUIElement()

Retrieves the user interface element associated with the current layer.

Declaration

cs-api-definition
public UIElement GetLayerUIElement()

Returns

UIElement

The UI element representing the layer. This element can be null if the layer has not been initialized properly.

Implements IUILayer.GetLayerUIElement()

RemoveUIProvider(IUIProvider)

Declaration

cs-api-definition
protected abstract void RemoveUIProvider(IUIProvider provider)

Parameters

provider

IUIProvider

RemoveUIProviderNoRecycle(IUIProvider)

Declaration

cs-api-definition
protected void RemoveUIProviderNoRecycle(IUIProvider provider)

Parameters

provider

IUIProvider

ShouldRemoveProvider(IUIProvider)

Declaration

cs-api-definition
protected virtual bool ShouldRemoveProvider(IUIProvider uiProvider)

Parameters

uiProvider

IUIProvider

Returns

bool

UpdateUI()

Declaration

cs-api-definition
protected virtual void UpdateUI()

UpdateViewPort(UILayerUpdateContext)

Updates the viewport of the UI layer based on the specified update context.

Declaration

cs-api-definition
public void UpdateViewPort(UILayerUpdateContext context)

Parameters

context

UILayerUpdateContext

The context containing information for updating the UI layer.

Implements IUILayer.UpdateViewPort(UILayerUpdateContext)