GridSplitter.PreviewStyle Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the Style that is used for previewing changes.

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


Public Property PreviewStyle As Style
public Style PreviewStyle { get; set; }
<sdk:GridSplitter PreviewStyle="styleReference"/>

XAML Values

  • inlineStyle
    A single Style object element.

  • styleReference
    A StaticResource reference to a Style that defines the appearance.

Property Value

Type: System.Windows.Style
The style that is used to preview changes.


Dependency property identifier field: PreviewStyleProperty

Version Information


Supported in: 5, 4, 3


For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.