GridSplitter.KeyboardIncrement Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: