DataGrid.RowDetailsVisibilityMode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates when the details section of a row is displayed.
public:
property System::Windows::Controls::DataGridRowDetailsVisibilityMode RowDetailsVisibilityMode { System::Windows::Controls::DataGridRowDetailsVisibilityMode get(); void set(System::Windows::Controls::DataGridRowDetailsVisibilityMode value); };
public System.Windows.Controls.DataGridRowDetailsVisibilityMode RowDetailsVisibilityMode { get; set; }
member this.RowDetailsVisibilityMode : System.Windows.Controls.DataGridRowDetailsVisibilityMode with get, set
Public Property RowDetailsVisibilityMode As DataGridRowDetailsVisibilityMode
Property Value
One of the enumeration values that specifies the visibility of row details. The registered default is VisibleWhenSelected. For more information about what can influence the value, see DependencyProperty.
Remarks
By default, the row details section is displayed for selected rows if a RowDetailsTemplate is defined. Set this property to Visible to show the details for all rows or Collapsed to hide the details for all rows.
The RowDetailsVisibilityChanged event occurs when this property is changed.