ClassLayoutRoundingHelper
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:
public class LayoutRoundingHelper : DependencyObject
Inheritance: objectLayoutRoundingHelper
Constructors
LayoutRoundingHelper()
Declaration
public LayoutRoundingHelper()
Fields
EnableLayoutRoundingProperty
Declaration
public static readonly DependencyProperty EnableLayoutRoundingProperty
Field Value
DependencyProperty
Methods
GetEnableLayoutRounding(DependencyObject)
Retrieves the layout rounding enabled state for the specified DependencyObject.
Declaration
public static bool GetEnableLayoutRounding(DependencyObject obj)
Parameters
obj
DependencyObject
The DependencyObject for which to retrieve the layout rounding state.
Returns
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
public static void SetEnableLayoutRounding(UIElement element, bool value)
Parameters
element
UIElement
The UI element for which to enable or disable layout rounding.
value
A boolean value indicating whether layout rounding should be enabled (true) or disabled (false).