New to Telerik UI for WPFStart a free 30-day trial

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

Definition

Constructors

C#
public ProviderUILayerBase()

Properties

Gets the current update context for the Provider UI Layer.

C#
public UILayerUpdateContext CurrentUpdateContext { get; }

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

C#
public bool IsHitTestVisible { get; set; }
Property Value:

True if hit testing is enabled; otherwise, false.

Implements: IUILayer.IsHitTestVisible

Gets or sets the name of the UI layer.

C#
public abstract string Name { get; }
Property Value:

The name of the UI layer as a string.

Implements: IUILayer.Name

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

C#
public virtual bool ShouldClip { get; }

Implements: IUILayer.ShouldClip

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

C#
public virtual bool ShouldUpdateWhenNotInvalidated { get; }

Implements: IUILayer.ShouldUpdateWhenNotInvalidated

Gets the user interface registry associated with the ProviderUILayerBase.

C#
public UIProviderRegistry UIRegistry { get; }

Methods

Arranges the child elements of the provider UI layer.

C#
public void ArrangeChildren()

Implements: IUILayer.ArrangeChildren()

Remarks:

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

Clears all child elements from the provider UI layer.

C#
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.

Executes the necessary actions when the presentation is changed.

C#
public virtual void DoOnPresentationChanged()

Implements: IUILayer.DoOnPresentationChanged()

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

IEnumerable<IUIProvider>

Retrieves the user interface element associated with the current layer.

C#
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()

C#
protected abstract void RemoveUIProvider(IUIProvider provider)
Parameters:providerIUIProvider
C#
protected void RemoveUIProviderNoRecycle(IUIProvider provider)
Parameters:providerIUIProvider
C#
protected virtual bool ShouldRemoveProvider(IUIProvider uiProvider)
Parameters:uiProviderIUIProviderReturns:

bool

C#
protected virtual void UpdateUI()

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

C#
public void UpdateViewPort(UILayerUpdateContext context)
Parameters:contextUILayerUpdateContext

The context containing information for updating the UI layer.

Implements: IUILayer.UpdateViewPort(UILayerUpdateContext)