WebZone.PartChromePadding Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the distance between the contents of a WebPart control and the border of the control.
public:
property System::Web::UI::WebControls::Unit PartChromePadding { System::Web::UI::WebControls::Unit get(); void set(System::Web::UI::WebControls::Unit value); };
public System.Web.UI.WebControls.Unit PartChromePadding { get; set; }
member this.PartChromePadding : System.Web.UI.WebControls.Unit with get, set
Public Property PartChromePadding As Unit
Property Value
A Unit object that indicates the type of measurement and the amount of padding. The default padding for a zone is 5 pixels.
Exceptions
The value assigned to the property is a negative number.
Remarks
Use this property to define a standard padding amount between the content of each control and its border for all controls contained in a zone.