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