- flag
- The System.Windows.Forms.ControlStyles bit to set.
- value
- true to apply the specified style to the control; otherwise, false.
| Visual Basic (Declaration) | |
|---|---|
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)> Protected Sub SetStyle( _ ByVal flag As ControlStyles, _ ByVal value As Boolean _ ) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As Medical3DControl Dim flag As ControlStyles Dim value As Boolean instance.SetStyle(flag, value) | |
| C# | |
|---|---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] protected void SetStyle( ControlStyles flag, bool value ) | |
| C++/CLI | |
|---|---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] protected: void SetStyle( ControlStyles flag, bool value ) | |
Parameters
- flag
- The System.Windows.Forms.ControlStyles bit to set.
- value
- true to apply the specified style to the control; 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
Copy Code