Modifier

Partager via


GridSplitter.KeyboardIncrement Property

Definition

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

public:
 property double KeyboardIncrement { double get(); void set(double value); };
public double KeyboardIncrement { get; set; }
member this.KeyboardIncrement : double with get, set
Public Property KeyboardIncrement As Double

Property Value

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

Examples

The following example shows how to set the KeyboardIncrement property.

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

Remarks

Dependency Property Information

Identifier field KeyboardIncrementProperty
Metadata properties set to true None

Applies to