Version

Keyboard Settings

You can enable keyboard navigation on the xamDialogWindow™ control. This allows your end users to move the dialog window using the arrows keys.

You can set how many pixels the dialog window will move by setting the KeyboardSettings object’s HorizontalStep and VerticalStep properties, as demonstrated in the following code snippet.

In XAML:

<Grid x:Name="LayoutRoot" Background="White">
   <ig:XamDialogWindow x:Name="DialogWindow" Width="200"
                   Height="200" IsModal="True">
      <ig:XamDialogWindow.KeyboardSettings>
         <ig:KeyboardSettings AllowKeyboardNavigation="True"
                                VerticalStep="25" HorizontalStep="25">
         </ig:KeyboardSettings>
      </ig:XamDialogWindow.KeyboardSettings>
   </ig:XamDialogWindow>
</Grid>

In Visual Basic:

Imports Infragistics.Controls.Interactions
...
DialogWindow.KeyboardSettings.AllowKeyboardNavigation = True
DialogWindow.KeyboardSettings.VerticalStep = 25
DialogWindow.KeyboardSettings.HorizontalStep = 25

In C#:

using Infragistics.Controls.Interactions;
...
DialogWindow.KeyboardSettings.AllowKeyboardNavigation = true;
DialogWindow.KeyboardSettings.VerticalStep = 25;
DialogWindow.KeyboardSettings.HorizontalStep = 25;