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






Gets or sets the padding style in the control.

Syntax

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