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
[C#]
protected bool ShouldSerializePreferredRowHeight();
[C++]
protected: bool ShouldSerializePreferredRowHeight();
[JScript]
protected function ShouldSerializePreferredRowHeight() : Boolean;

Return Value

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

Remarks

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

Requirements

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

Show: