- flag
- The System.Windows.Forms.ControlStyles bit to return the value from.
Visual Basic (Declaration) | |
---|---|
Protected Function GetStyle( _ ByVal flag As ControlStyles _ ) As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As Medical3DControl Dim flag As ControlStyles Dim value As Boolean value = instance.GetStyle(flag) |
C# | |
---|---|
protected bool GetStyle( ControlStyles flag ) |
C++/CLI | |
---|---|
protected: bool GetStyle( ControlStyles flag ) |
Parameters
- flag
- The System.Windows.Forms.ControlStyles bit to return the value from.
Return Value
true if the specified control style bit is set to true; otherwise, false.Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7