KeyboardIncrement Property

GridSplitter.KeyboardIncrement Property

 

Gets or sets the distance that each press of an arrow key moves a GridSplitter control.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public double KeyboardIncrement { get; set; }

Property Value

Type: System.Double

The distance that the GridSplitter moves for each press of an arrow key. The default is 10.

Identifier field

KeyboardIncrementProperty

Metadata properties set to true

None

The following example shows how to set the KeyboardIncrement property.

myGridSplitter.KeyboardIncrement = 25;
<GridSplitter KeyboardIncrement="25" Width="5"
              Grid.Column="1" Grid.RowSpan="2"/>

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft