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)

Syntax

'Declaration
Public Property PreviewStyle As Style
public Style PreviewStyle { get; set; }
<sdk:GridSplitter>
  <sdk:GridSplitter.PreviewStyle>
    inlineStyle
  </sdk:GridSplitter.PreviewStyle>
</sdk:GridSplitter>
<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.

Remarks

Dependency property identifier field: PreviewStyleProperty

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

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