| Visual Basic (Declaration) | |
|---|---|
<SRDescriptionAttribute("Checks if this control can receive the focus.")>
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
<BrowsableAttribute(False)>
<SRCategoryAttribute("Focus")>
Public ReadOnly Property CanFocus As Boolean | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As Medical3DControl Dim value As Boolean value = instance.CanFocus | |
| C# | |
|---|---|
[SRDescriptionAttribute("Checks if this control can receive the focus.")]
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
[BrowsableAttribute(false)]
[SRCategoryAttribute("Focus")]
public bool CanFocus {get;} | |
| C++/CLI | |
|---|---|
[SRDescriptionAttribute("Checks if this control can receive the focus.")]
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
[BrowsableAttribute(false)]
[SRCategoryAttribute("Focus")]
public:
property bool CanFocus {
bool get();
} | |
Property Value
true if the control can receive focus; 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