NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

FormatControl.ShouldPersistText

Returns true if Text should be persisted in code gen. When we have a format object, we don't want to persist the Text property.

[Visual Basic]
Overrides Public Function ShouldPersistText() As Boolean
[C#]
public override bool ShouldPersistText();
[C++]
public: override bool ShouldPersistText();
[JScript]
public override function ShouldPersistText() : Boolean;

Return Value

true if Text should be persisted.

See Also

FormatControl Class | FormatControl Members | System.WinForms Namespace