| Visual Basic (Declaration) | |
|---|---|
<SRCategoryAttribute("Appearance")>
<AmbientValueAttribute()>
<SRDescriptionAttribute("The font used to display text in the control.")>
<LocalizableAttribute(True)>
<DispIdAttribute(-512)>
Public Overridable Property Font As Font | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As Medical3DControl Dim value As Font instance.Font = value value = instance.Font | |
| C# | |
|---|---|
[SRCategoryAttribute("Appearance")]
[AmbientValueAttribute()]
[SRDescriptionAttribute("The font used to display text in the control.")]
[LocalizableAttribute(true)]
[DispIdAttribute(-512)]
public virtual Font Font {get; set;} | |
| C++/CLI | |
|---|---|
[SRCategoryAttribute("Appearance")]
[AmbientValueAttribute()]
[SRDescriptionAttribute("The font used to display text in the control.")]
[LocalizableAttribute(true)]
[DispIdAttribute(-512)]
public:
virtual property Font^ Font {
Font^ get();
void set ( Font^ value);
} | |
Property Value
The System.Drawing.Font to apply to the text displayed by the control. The default is the value of the System.Windows.Forms.Control.DefaultFont property.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