Class FocusUtility
Represents a class to focus diagram control while it is loading.
Inheritance
System.Object
FocusUtility
Namespace: Syncfusion.UI.Xaml.Diagram.Utility
Assembly: Syncfusion.SfDiagram.UWP.dll
Syntax
public class FocusUtility : DependencyObject
Constructors
FocusUtility()
Declaration
public FocusUtility()
Fields
FocusOnLoadProperty
Using a DependencyProperty as the backing store for FocusOnLoad. This enables animation, styling, binding, etc...
Declaration
public static DependencyProperty FocusOnLoadProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Methods
GetFocusOnLoad(DependencyObject)
Method to know whether diagram is focused or not.
Declaration
public static bool GetFocusOnLoad(DependencyObject dp)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyObject | dp | Dependency Object value. |
Returns
Type | Description |
---|---|
System.Boolean | Returns true, if FocusOnLoadProperty is set; otherwise returns false. |
SetFocusOnLoad(DependencyObject, Boolean)
Method to set values to FocusOnLoadProperty property.
Declaration
public static void SetFocusOnLoad(DependencyObject dp, bool value)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyObject | dp | Dependency Object value. |
System.Boolean | value | Boolean vaue to set value to FocusOnLoadProperty. |