Click or drag to resize

GridWithPadding Class

A Grid with Padding. Modified from the original article: https://www.codeproject.com/Articles/107468/WPF-Padded-Grid
Inheritance Hierarchy

Namespace:  Hummingbird.UI
Assembly:  Hummingbird.UI (in Hummingbird.UI.dll) Version: 1.1.0.0
Syntax
public class GridWithPadding : Grid

The GridWithPadding type exposes the following members.

Constructors
  NameDescription
Public methodGridWithPadding
Initializes a new instance of the GridWithPadding class.
Top
Properties
  NameDescription
Public propertyPadding
Padding of all grid children elements.
Top
Methods
  NameDescription
Protected methodStatic memberGetMarginProperty
Gets the margin property.
Top
Remarks
When using GridWithPadding, you can set a global padding value instead of setting the Margin of every children element.
See Also