C# Class WinRTXamlToolkit.Controls.CustomGridSplitter

Inheritance: Windows.UI.Xaml.Controls.Control
Afficher le fichier Open project: xyzzer/WinRTXamlToolkit Class Usage Examples

Méthodes publiques

Свойство Type Description
KeyboardIncrementProperty Windows.UI.Xaml.DependencyProperty
PreviewStyleProperty Windows.UI.Xaml.DependencyProperty
ResizeBehaviorProperty Windows.UI.Xaml.DependencyProperty
ResizeDirectionProperty Windows.UI.Xaml.DependencyProperty
ShowsPreviewProperty Windows.UI.Xaml.DependencyProperty

Méthodes publiques

Méthode Description
CustomGridSplitter ( ) : System

Initializes a new instance of the CustomGridSplitter class.

Méthodes protégées

Méthode Description
OnGotFocus ( RoutedEventArgs e ) : void

Called before the GotFocus event occurs.

OnKeyDown ( Windows e ) : void

Called before the KeyDown event occurs.

OnLostFocus ( RoutedEventArgs e ) : void

Called before the LostFocus event occurs.

OnPointerEntered ( Windows e ) : void

Called before the PointerEntered event occurs.

OnPointerMoved ( Windows e ) : void

Called before the PointerMoved event occurs.

OnPointerPressed ( Windows e ) : void

Called before the PointerPressed event occurs.

OnPointerReleased ( Windows e ) : void

Called before the PointerReleased event occurs.

OnResizeDirectionChanged ( GridResizeDirection oldResizeDirection, GridResizeDirection newResizeDirection ) : void

Provides derived classes an opportunity to handle changes to the ResizeDirection property.

Private Methods

Méthode Description
ContinueDirectDragging ( Point position ) : void
ContinuePreviewDragging ( Point position ) : void
DetermineEffectiveResizeBehavior ( ) : GridResizeBehavior
DetermineEffectiveResizeDirection ( ) : GridResizeDirection
DetermineResizeCursor ( ) : void
GetGrid ( ) : Grid
OnLayoutUpdated ( object sender, object e ) : void

Called when the LayoutUpdated event occurs.

OnResizeDirectionChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the ResizeDirection property.

PreviewGridSplitter_DraggingCompleted ( object sender, EventArgs e ) : void
ResizeColumns ( Grid grid, double deltaX ) : void
ResizeRows ( Grid grid, double deltaX ) : void
StartDirectDragging ( Windows e ) : void
StartPreviewDragging ( Windows e ) : void
UpdateVisualState ( ) : void

Method Details

CustomGridSplitter() public méthode

Initializes a new instance of the CustomGridSplitter class.
public CustomGridSplitter ( ) : System
Résultat System

OnGotFocus() protected méthode

Called before the GotFocus event occurs.
protected OnGotFocus ( RoutedEventArgs e ) : void
e Windows.UI.Xaml.RoutedEventArgs The data for the event.
Résultat void

OnKeyDown() protected méthode

Called before the KeyDown event occurs.
protected OnKeyDown ( Windows e ) : void
e Windows The data for the event.
Résultat void

OnLostFocus() protected méthode

Called before the LostFocus event occurs.
protected OnLostFocus ( RoutedEventArgs e ) : void
e Windows.UI.Xaml.RoutedEventArgs The data for the event.
Résultat void

OnPointerEntered() protected méthode

Called before the PointerEntered event occurs.
protected OnPointerEntered ( Windows e ) : void
e Windows Event data for the event.
Résultat void

OnPointerMoved() protected méthode

Called before the PointerMoved event occurs.
protected OnPointerMoved ( Windows e ) : void
e Windows Event data for the event.
Résultat void

OnPointerPressed() protected méthode

Called before the PointerPressed event occurs.
protected OnPointerPressed ( Windows e ) : void
e Windows Event data for the event.
Résultat void

OnPointerReleased() protected méthode

Called before the PointerReleased event occurs.
protected OnPointerReleased ( Windows e ) : void
e Windows Event data for the event.
Résultat void

OnResizeDirectionChanged() protected méthode

Provides derived classes an opportunity to handle changes to the ResizeDirection property.
protected OnResizeDirectionChanged ( GridResizeDirection oldResizeDirection, GridResizeDirection newResizeDirection ) : void
oldResizeDirection GridResizeDirection The old ResizeDirection value
newResizeDirection GridResizeDirection The new ResizeDirection value
Résultat void

Property Details

KeyboardIncrementProperty public_oe static_oe property

KeyboardIncrement Dependency Property
public static DependencyProperty,Windows.UI.Xaml KeyboardIncrementProperty
Résultat Windows.UI.Xaml.DependencyProperty

PreviewStyleProperty public_oe static_oe property

PreviewStyle Dependency Property
public static DependencyProperty,Windows.UI.Xaml PreviewStyleProperty
Résultat Windows.UI.Xaml.DependencyProperty

ResizeBehaviorProperty public_oe static_oe property

ResizeBehavior Dependency Property
public static DependencyProperty,Windows.UI.Xaml ResizeBehaviorProperty
Résultat Windows.UI.Xaml.DependencyProperty

ResizeDirectionProperty public_oe static_oe property

ResizeDirection Dependency Property
public static DependencyProperty,Windows.UI.Xaml ResizeDirectionProperty
Résultat Windows.UI.Xaml.DependencyProperty

ShowsPreviewProperty public_oe static_oe property

ShowsPreview Dependency Property
public static DependencyProperty,Windows.UI.Xaml ShowsPreviewProperty
Résultat Windows.UI.Xaml.DependencyProperty