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

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

C#
public static readonly DependencyProperty EnableLayoutRoundingProperty

Methods

Retrieves the layout rounding enabled state for the specified DependencyObject.

C#
public static bool GetEnableLayoutRounding(DependencyObject obj)
Parameters:objDependencyObject

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.

Sets the layout rounding behavior for the specified UI element.

C#
public static void SetEnableLayoutRounding(UIElement element, bool value)
Parameters:elementUIElement

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

valuebool

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