DataGrid.ClearDetailsVisibilityForItem Method (Object)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Clears the DetailsVisibility property for the DataGridRow that represents the specified data item.

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

public void ClearDetailsVisibilityForItem(
	object item
)

Parameters

item
Type: System.Object

The data item in the row for which DetailsVisibility is cleared.

Clearing the value does not necessarily restore the default visibility. For more information, see Dependency Property Value Precedence.

.NET Framework
Available since 4.0
Return to top
Show: