Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DataGrid.DropLocationIndicatorStyle Property

Gets or sets the style that is used when rendering the column headers.

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

Public Property DropLocationIndicatorStyle As Style
<sdk:DataGrid DropLocationIndicatorStyle="styleReference"/>

XAML Values


A single Style object element.


A StaticResource reference to a Style.

Property Value

Type: System.Windows.Style
The style applied to column headers.

Dependency property identifier field: DropLocationIndicatorStyleProperty

Whether defined as an inline style or as a resource, the Style defines the appearance of the column header in the data grid, and should specify a TargetType of DataGridColumnHeader. You typically specify setters for individual properties, and might also use a setter for the Template property if you wanted to change the composition of elements. For information that can help you decide whether to define styles inline or as resources, see Inline Styles and Templates.


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.

Community Additions

© 2015 Microsoft