C# Class WinRTXamlToolkit.Controls.CustomGridSplitter

Inheritance: Windows.UI.Xaml.Controls.Control
ファイルを表示 Open project: xyzzer/WinRTXamlToolkit Class Usage Examples

Public Properties

Property 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

Public Methods

Method Description
CustomGridSplitter ( ) : System

Initializes a new instance of the CustomGridSplitter class.

Protected Methods

Method 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

Method 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 method

Initializes a new instance of the CustomGridSplitter class.
public CustomGridSplitter ( ) : System
return System

OnGotFocus() protected method

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

OnKeyDown() protected method

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

OnLostFocus() protected method

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

OnPointerEntered() protected method

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

OnPointerMoved() protected method

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

OnPointerPressed() protected method

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

OnPointerReleased() protected method

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

OnResizeDirectionChanged() protected method

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
return void

Property Details

KeyboardIncrementProperty public_oe static_oe property

KeyboardIncrement Dependency Property
public static DependencyProperty,Windows.UI.Xaml KeyboardIncrementProperty
return Windows.UI.Xaml.DependencyProperty

PreviewStyleProperty public_oe static_oe property

PreviewStyle Dependency Property
public static DependencyProperty,Windows.UI.Xaml PreviewStyleProperty
return Windows.UI.Xaml.DependencyProperty

ResizeBehaviorProperty public_oe static_oe property

ResizeBehavior Dependency Property
public static DependencyProperty,Windows.UI.Xaml ResizeBehaviorProperty
return Windows.UI.Xaml.DependencyProperty

ResizeDirectionProperty public_oe static_oe property

ResizeDirection Dependency Property
public static DependencyProperty,Windows.UI.Xaml ResizeDirectionProperty
return Windows.UI.Xaml.DependencyProperty

ShowsPreviewProperty public_oe static_oe property

ShowsPreview Dependency Property
public static DependencyProperty,Windows.UI.Xaml ShowsPreviewProperty
return Windows.UI.Xaml.DependencyProperty