Intersoft WebGrid Documentation
Margin Property
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > WebGridFormatStyle Class : Margin Property






Gets or sets the margin style in the control.

Syntax

Visual Basic (Declaration) 
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)>
<CategoryAttribute("Appearance")>
<DefaultValueAttribute()>
<NotifyParentPropertyAttribute(True)>
<DescriptionAttribute("Determines the amount of space for the style associated object's margins.")>
<TypeConverterAttribute("System.ComponentModel.ExpandableObjectConverter, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")>
<ISNet.Serialization.XmlSerializableAttribute(XmlSerializationType.Layout)>
<ISNet.Serialization.BinarySerializableAttribute()>
<PersistenceModeAttribute(PersistenceMode.InnerProperty)>
Public Overridable Property Margin As ISNet.WebUI.Margin
Visual Basic (Usage)Copy Code
Dim instance As WebGridFormatStyle
Dim value As ISNet.WebUI.Margin
 
instance.Margin = value
 
value = instance.Margin
C# 
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)]
[CategoryAttribute("Appearance")]
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
[DescriptionAttribute("Determines the amount of space for the style associated object's margins.")]
[TypeConverterAttribute("System.ComponentModel.ExpandableObjectConverter, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
[ISNet.Serialization.XmlSerializableAttribute(XmlSerializationType.Layout)]
[ISNet.Serialization.BinarySerializableAttribute()]
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public virtual ISNet.WebUI.Margin Margin {get; set;}
Delphi 
public read-write property Margin: ISNet.WebUI.Margin; virtual; 
JScript 
DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)
CategoryAttribute("Appearance")
DefaultValueAttribute()
NotifyParentPropertyAttribute()
DescriptionAttribute("Determines the amount of space for the style associated object's margins.")
TypeConverterAttribute("System.ComponentModel.ExpandableObjectConverter, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")
ISNet.Serialization.XmlSerializableAttribute(XmlSerializationType.Layout)
ISNet.Serialization.BinarySerializableAttribute()
PersistenceModeAttribute(PersistenceMode.InnerProperty)
public function get,set Margin : ISNet.WebUI.Margin
Managed Extensions for C++ 
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)]
[CategoryAttribute("Appearance")]
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
[DescriptionAttribute("Determines the amount of space for the style associated object's margins.")]
[TypeConverterAttribute("System.ComponentModel.ExpandableObjectConverter, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
[ISNet.Serialization.XmlSerializableAttribute(XmlSerializationType.Layout)]
[ISNet.Serialization.BinarySerializableAttribute()]
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public: __property virtual ISNet.WebUI.Margin* get_Margin();
public: __property virtual void set_Margin( 
   ISNet.WebUI.Margin* value
);
C++/CLI 
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)]
[CategoryAttribute("Appearance")]
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
[DescriptionAttribute("Determines the amount of space for the style associated object's margins.")]
[TypeConverterAttribute("System.ComponentModel.ExpandableObjectConverter, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
[ISNet.Serialization.XmlSerializableAttribute(XmlSerializationType.Layout)]
[ISNet.Serialization.BinarySerializableAttribute()]
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public:
virtual property ISNet.WebUI.Margin^ Margin {
   ISNet.WebUI.Margin^ get();
   void set (    ISNet.WebUI.Margin^ value);
}

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.