Class
LayoutRoundingHelper

Provides utility methods for performing layout rounding operations in the Telerik UI for Documents.

Definition

Namespace:Telerik.Windows.Documents.UI

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class LayoutRoundingHelper : DependencyObject

Inheritance: objectLayoutRoundingHelper

Constructors

LayoutRoundingHelper()

Declaration

cs-api-definition
public LayoutRoundingHelper()

Fields

EnableLayoutRoundingProperty

Declaration

cs-api-definition
public static readonly DependencyProperty EnableLayoutRoundingProperty

Field Value

DependencyProperty

Methods

GetEnableLayoutRounding(DependencyObject)

Retrieves the layout rounding enabled state for the specified DependencyObject.

Declaration

cs-api-definition
public static bool GetEnableLayoutRounding(DependencyObject obj)

Parameters

obj

DependencyObject

The DependencyObject for which to retrieve the layout rounding state.

Returns

bool

Returns a boolean value indicating whether layout rounding is enabled for the specified dependency object.

SetEnableLayoutRounding(UIElement, bool)

Sets the layout rounding behavior for the specified UI element.

Declaration

cs-api-definition
public static void SetEnableLayoutRounding(UIElement element, bool value)

Parameters

element

UIElement

The UI element for which to enable or disable layout rounding.

value

bool

A boolean value indicating whether layout rounding should be enabled (true) or disabled (false).