xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="GridSplitter Example">
Row 0 Col 0
Row 1 Col 0
Row 2 Col 1
Row 0 Col 1
Row 1 Col 1
Row 2 Col 1
Row 0 Col 2
Row 1 Col 2
Row 2 Col 2
Property Settings
ShowsPreview
false (default)
true
//File:Window.xaml.vb
Imports System
Imports System.Windows
Imports System.Windows.Controls
Imports System.Windows.Data
Imports System.Windows.Documents
Imports System.Windows.Media
Imports System.Windows.Navigation
Imports System.Windows.Shapes
Namespace GridSplitter_Example
Public Partial Class Window1
Inherits Window
Public Sub New()
InitializeComponent()
End Sub
Private Sub ShowsPreviewChanged(sender As Object, e As RoutedEventArgs)
If CType(ShowsPreviewFalse.IsChecked, [Boolean]) Then
myGridSplitter.ShowsPreview = False
ElseIf CType(ShowsPreviewTrue.IsChecked, [Boolean]) Then
myGridSplitter.ShowsPreview = True
End If
End Sub
End Class
End Namespace