| Visual Basic (Declaration) | |
|---|---|
<SRDescriptionAttribute("The background image layout used for the component.")>
<LocalizableAttribute(True)>
<SRCategoryAttribute("Appearance")>
<DefaultValueAttribute()>
Public Overridable Property BackgroundImageLayout As ImageLayout | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As Medical3DControl Dim value As ImageLayout instance.BackgroundImageLayout = value value = instance.BackgroundImageLayout | |
| C# | |
|---|---|
[SRDescriptionAttribute("The background image layout used for the component.")]
[LocalizableAttribute(true)]
[SRCategoryAttribute("Appearance")]
[DefaultValueAttribute()]
public virtual ImageLayout BackgroundImageLayout {get; set;} | |
| C++/CLI | |
|---|---|
[SRDescriptionAttribute("The background image layout used for the component.")]
[LocalizableAttribute(true)]
[SRCategoryAttribute("Appearance")]
[DefaultValueAttribute()]
public:
virtual property ImageLayout BackgroundImageLayout {
ImageLayout get();
void set ( ImageLayout value);
} | |
Property Value
One of the values of System.Windows.Forms.ImageLayout (System.Windows.Forms.ImageLayout.Center , System.Windows.Forms.ImageLayout.None, System.Windows.Forms.ImageLayout.Stretch, System.Windows.Forms.ImageLayout.Tile, or System.Windows.Forms.ImageLayout.Zoom). System.Windows.Forms.ImageLayout.Tile is the default value.| Exception | Description |
|---|---|
| System.ComponentModel.InvalidEnumArgumentException | The specified enumeration value does not exist. |
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