This documentation is archived and is not being maintained.

DataGridTableStyle.ShouldSerializePreferredRowHeight Method

Indicates whether the PreferredRowHeight property should be persisted.

[Visual Basic]
Protected Function ShouldSerializePreferredRowHeight() As Boolean
protected bool ShouldSerializePreferredRowHeight();
protected: bool ShouldSerializePreferredRowHeight();
protected function ShouldSerializePreferredRowHeight() : Boolean;

Return Value

true if the property value has changed from its default; otherwise, false.


You typically use this method if you are either creating a designer for the DataGridTableStyle or creating your own control incorporating the DataGridTableStyle.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

DataGridTableStyle Class | DataGridTableStyle Members | System.Windows.Forms Namespace | PreferredRowHeight