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

Definition

Namespace:Telerik.WinForms.Documents.UI.Layers

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class UILayerUpdateContext

Inheritance: objectUILayerUpdateContext

Constructors

C#
public UILayerUpdateContext(PointF? viewOffset, RectangleF viewPort, IUILayerContainer presenter, SectionLayoutBox currentSection)
Parameters:viewOffsetPointF?viewPortRectangleFpresenterIUILayerContainercurrentSectionSectionLayoutBox

Properties

C#
public SectionLayoutBox CurrentSectionBox { get; }
C#
public bool FilterFloatingBlocksWithViewPort { get; set; }
C#
public IUILayerContainer Presenter { get; }
C#
public PointF ViewOffset { get; }
C#
public RectangleF ViewPort { get; }

Methods

C#
public IEnumerable<FloatingBlockLayoutBox> GetVisibleFloatingBlocks()
Returns:

IEnumerable<FloatingBlockLayoutBox>

C#
public IEnumerable<LayoutBox> GetVisibleLayoutBoxes()
Returns:

IEnumerable<LayoutBox>

C#
public IEnumerable<T> GetVisibleLayoutBoxes<T>() where T : LayoutBox
Returns:

IEnumerable<T>

C#
public IEnumerable<T> GetVisibleLayoutBoxes<T>(Predicate<T> filter) where T : LayoutBox
Parameters:filterPredicate<T>Returns:

IEnumerable<T>

C#
public IEnumerable<SpanLayoutBox> GetVisibleTextLayoutBoxes()
Returns:

IEnumerable<SpanLayoutBox>