C# Класс WinRTXamlToolkit.Controls.Extensions.FrameworkElementExtensions

Extensions for the FrameworkElement class.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
ClipToBoundsHandlerProperty Windows.UI.Xaml.DependencyProperty
ClipToBoundsProperty Windows.UI.Xaml.DependencyProperty
CursorDisplayHandlerProperty Windows.UI.Xaml.DependencyProperty
CursorProperty Windows.UI.Xaml.DependencyProperty
SystemCursorProperty Windows.UI.Xaml.DependencyProperty

Открытые методы

Метод Описание
GetClipToBounds ( DependencyObject d ) : bool

Gets the ClipToBounds property. This dependency property indicates whether the element should be clipped to its bounds.

GetCursor ( DependencyObject d ) : CoreCursor

Gets the Cursor property. This dependency property indicates the cursor to use when a mouse cursor is moved over the control.

GetSystemCursor ( DependencyObject d ) : CoreCursorType

Gets the SystemCursor property. This dependency property indicates the system CoreCursorType to use for the control's mouse cursor.

HasNonDefaultValue ( this @this, DependencyProperty dp ) : bool

Determines whether the element has a non default value of the specified dependency property.

SetClipToBounds ( DependencyObject d, bool value ) : void

Sets the ClipToBounds property. This dependency property indicates whether the element should be clipped to its bounds.

SetCursor ( DependencyObject d, CoreCursor value ) : void

Sets the Cursor property. This dependency property indicates the cursor to use when a mouse cursor is moved over the control.

SetSystemCursor ( DependencyObject d, CoreCursorType value ) : void

Sets the SystemCursor property. This dependency property indicates the system CoreCursorType to use for the control's mouse cursor.

Приватные методы

Метод Описание
GetClipToBoundsHandler ( DependencyObject d ) : ClipToBoundsHandler
GetCursorDisplayHandler ( DependencyObject d ) : CursorDisplayHandler
OnClipToBoundsChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the ClipToBounds property.

OnClipToBoundsHandlerChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the ClipToBoundsHandler property.

OnCursorChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the Cursor property.

OnSystemCursorChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the SystemCursor property.

SetClipToBoundsHandler ( DependencyObject d, ClipToBoundsHandler value ) : void
SetCursorDisplayHandler ( DependencyObject d, CursorDisplayHandler value ) : void

Описание методов

GetClipToBounds() публичный статический Метод

Gets the ClipToBounds property. This dependency property indicates whether the element should be clipped to its bounds.
public static GetClipToBounds ( DependencyObject d ) : bool
d Windows.UI.Xaml.DependencyObject
Результат bool

GetCursor() публичный статический Метод

Gets the Cursor property. This dependency property indicates the cursor to use when a mouse cursor is moved over the control.
public static GetCursor ( DependencyObject d ) : CoreCursor
d Windows.UI.Xaml.DependencyObject
Результат Windows.UI.Core.CoreCursor

GetSystemCursor() публичный статический Метод

Gets the SystemCursor property. This dependency property indicates the system CoreCursorType to use for the control's mouse cursor.
public static GetSystemCursor ( DependencyObject d ) : CoreCursorType
d Windows.UI.Xaml.DependencyObject
Результат CoreCursorType

HasNonDefaultValue() публичный статический Метод

Determines whether the element has a non default value of the specified dependency property.
public static HasNonDefaultValue ( this @this, DependencyProperty dp ) : bool
@this this
dp Windows.UI.Xaml.DependencyProperty The dp.
Результат bool

SetClipToBounds() публичный статический Метод

Sets the ClipToBounds property. This dependency property indicates whether the element should be clipped to its bounds.
public static SetClipToBounds ( DependencyObject d, bool value ) : void
d Windows.UI.Xaml.DependencyObject
value bool
Результат void

SetCursor() публичный статический Метод

Sets the Cursor property. This dependency property indicates the cursor to use when a mouse cursor is moved over the control.
public static SetCursor ( DependencyObject d, CoreCursor value ) : void
d Windows.UI.Xaml.DependencyObject
value Windows.UI.Core.CoreCursor
Результат void

SetSystemCursor() публичный статический Метод

Sets the SystemCursor property. This dependency property indicates the system CoreCursorType to use for the control's mouse cursor.
public static SetSystemCursor ( DependencyObject d, CoreCursorType value ) : void
d Windows.UI.Xaml.DependencyObject
value CoreCursorType
Результат void

Описание свойств

ClipToBoundsHandlerProperty публичное статическое свойство

ClipToBoundsHandler Attached Dependency Property
public static DependencyProperty,Windows.UI.Xaml ClipToBoundsHandlerProperty
Результат Windows.UI.Xaml.DependencyProperty

ClipToBoundsProperty публичное статическое свойство

ClipToBounds Attached Dependency Property
public static DependencyProperty,Windows.UI.Xaml ClipToBoundsProperty
Результат Windows.UI.Xaml.DependencyProperty

CursorDisplayHandlerProperty публичное статическое свойство

CursorDisplayHandler Attached Dependency Property
public static DependencyProperty,Windows.UI.Xaml CursorDisplayHandlerProperty
Результат Windows.UI.Xaml.DependencyProperty

CursorProperty публичное статическое свойство

Cursor Attached Dependency Property
public static DependencyProperty,Windows.UI.Xaml CursorProperty
Результат Windows.UI.Xaml.DependencyProperty

SystemCursorProperty публичное статическое свойство

SystemCursor Attached Dependency Property
public static DependencyProperty,Windows.UI.Xaml SystemCursorProperty
Результат Windows.UI.Xaml.DependencyProperty