Tab

FileManagerFileStyle.Margins Property

Gets the outer margin of files.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

public virtual Margins Margins { get; }
Public Overridable ReadOnly Property Margins As Margins

Property Value

Type Description
Margins

A Margins object representing the margins of files.

Available values:

Show 21 items
Name Description
IsEmpty

Gets a value that indicates whether this Margins object is initialized with the default values.

MarginBottom

Gets or sets the margin value for the bottom edge.

MarginRight

Gets or sets the margin value for the right edge.

MarginTop

Gets or sets the margin value for the top edge.

MarginLeft

Gets or sets the margin value for the left edge.

Margin

Gets or sets the common margin value for all four edges.

AssignToControl(WebControl)

Copies the settings from the current Margins object to the specified object.

Reset()

Returns the Margins object to its original state.

MergeWith(Margins)

Combines the properties of the specified Margins with the current instance of the Margins class.

FillStyleAttributes(CssStyleCollection, IUrlResolutionService)

For internal use only.

CopyFrom(Margins)

Duplicates the properties of the specified object into the current instance of the Margins class.

Assign(Margins)

Copies the settings from the specified Margins object to the current object.

ToString()

Returns a string that represents the current object.

GetMarginBottom()

Returns the margin value for the bottom edge.

GetMarginRight()

Returns the margin value for the right edge.

GetMarginTop()

Returns the margin value for the top edge.

GetMarginLeft()

Returns the margin value for the left edge.

Margins(Unit, Unit, Unit, Unit)

Initializes a new instance of the Margins class with the specified margin values for the left, right, top and bottom edges.

Margins(Unit)

Initializes a new instance of the Margins class with the specified margin value for all the edges.

Margins(Unit, Unit, Unit, Unit, Unit)

Initializes a new instance of the Margins class with the specified margin values for all the edges.

Margins()

Initializes a new instance of the Margins class.

See Also