Class FrameworkElementExtensions
Represents a class for the Framework element extensions
Inheritance
Namespace: Syncfusion.UI.Xaml.Controls.Extensions
Assembly: Syncfusion.SfShared.UWP.dll
Syntax
public class FrameworkElementExtensions : Object
Constructors
FrameworkElementExtensions()
Declaration
public FrameworkElementExtensions()
Fields
CursorDisplayHandlerProperty
CursorDisplayHandler Attached Dependency Property
Declaration
public static readonly DependencyProperty CursorDisplayHandlerProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
CursorProperty
Cursor Attached Dependency Property
Declaration
public static readonly DependencyProperty CursorProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Methods
GetCursor(DependencyObject)
Gets the Cursor property. This dependency property indicates the cursor to use when a mouse cursor is moved over the control.
Declaration
public static CoreCursor GetCursor(DependencyObject d)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyObject | d | dependency object |
Returns
Type | Description |
---|---|
Windows.UI.Core.CoreCursor | returns the cursor |
GetCursorDisplayHandler(DependencyObject)
Gets the CursorDisplayHandler property. This dependency property indicates the handler for displaying the Cursor when a mouse is moved over the control.
Declaration
public static CursorDisplayHandler GetCursorDisplayHandler(DependencyObject d)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyObject | d | dependency object |
Returns
Type | Description |
---|---|
CursorDisplayHandler | returns cursor display handler |
SetCursor(DependencyObject, CoreCursor)
Sets the Cursor property. This dependency property indicates the cursor to use when a mouse cursor is moved over the control.
Declaration
public static void SetCursor(DependencyObject d, CoreCursor value)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyObject | d | |
Windows.UI.Core.CoreCursor | value |
SetCursorDisplayHandler(DependencyObject, CursorDisplayHandler)
Sets the CursorDisplayHandler property. This dependency property indicates the handler for displaying the Cursor when a mouse is moved over the control.
Declaration
public static void SetCursorDisplayHandler(DependencyObject d, CursorDisplayHandler value)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyObject | d | |
CursorDisplayHandler | value |