C# Class WinRTXamlToolkit.Controls.Extensions.FrameworkElementExtensions

Extensions for the FrameworkElement class.
Afficher le fichier Open project: xyzzer/WinRTXamlToolkit Class Usage Examples

Méthodes publiques

Свойство Type Description
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

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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

Method Details

GetClipToBounds() public static méthode

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
Résultat bool

GetCursor() public static méthode

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
Résultat Windows.UI.Core.CoreCursor

GetSystemCursor() public static méthode

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
Résultat CoreCursorType

HasNonDefaultValue() public static méthode

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.
Résultat bool

SetClipToBounds() public static méthode

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
Résultat void

SetCursor() public static méthode

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
Résultat void

SetSystemCursor() public static méthode

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
Résultat void

Property Details

ClipToBoundsHandlerProperty public_oe static_oe property

ClipToBoundsHandler Attached Dependency Property
public static DependencyProperty,Windows.UI.Xaml ClipToBoundsHandlerProperty
Résultat Windows.UI.Xaml.DependencyProperty

ClipToBoundsProperty public_oe static_oe property

ClipToBounds Attached Dependency Property
public static DependencyProperty,Windows.UI.Xaml ClipToBoundsProperty
Résultat Windows.UI.Xaml.DependencyProperty

CursorDisplayHandlerProperty public_oe static_oe property

CursorDisplayHandler Attached Dependency Property
public static DependencyProperty,Windows.UI.Xaml CursorDisplayHandlerProperty
Résultat Windows.UI.Xaml.DependencyProperty

CursorProperty public_oe static_oe property

Cursor Attached Dependency Property
public static DependencyProperty,Windows.UI.Xaml CursorProperty
Résultat Windows.UI.Xaml.DependencyProperty

SystemCursorProperty public_oe static_oe property

SystemCursor Attached Dependency Property
public static DependencyProperty,Windows.UI.Xaml SystemCursorProperty
Résultat Windows.UI.Xaml.DependencyProperty