Skip to main content

BrickStyle Members

Represents a report drawing style.

Constructors

Name Description
BrickStyle() Initializes a new instance of the BrickStyle class with the default settings.
BrickStyle(BorderSide, Single, Color, Color, Color, DXFont, BrickStringFormat) Initializes a new instance of the BrickStyle class with specified settings.
BrickStyle(BrickStyle) Initializes a new instance of the BrickStyle class and copies the settings from the object passed as the parameter.
BrickStyle(Single) Initializes a new instance of the BrickStyle class with the specified dpi value.

Properties

Name Description
BackColor Gets or sets the background color.
BorderColor Gets or sets the border color.
BorderDashStyle Specifies the dash style for the brick’s border.
BorderStyle Gets or sets the border style of a brick.
BorderWidth Gets or sets the border width.
BorderWidthSerializable Gets or sets the string value used to support serialization of the BrickStyle.BorderWidth property.
Default static Obsolete. Gets the BrickStyle object whose properties are set to their default values.
DefaultFont static Gets the default font for a brick style.
Font Gets or sets the Font used to display text.
ForeColor Gets or sets the foreground color.
IsJustified Specifies whether or not the brick’s alignment is justified.
IsTransparent Gets a value indicating whether the brick style paints a transparent brick.
Padding Gets or sets the padding values of a brick.
Sides Gets or sets a value defining which borders of the current brick are visible.
StringFormat Gets or sets a BrickStringFormat instance specifying text formatting and layout.
TextAlignment Gets or sets the alignment of the text in the brick.

Methods

Name Description
ChangeAlignment(TextAlignment)
Clone() Creates a new BrickStyle instance, which is a copy of the current instance.
CreateDefault() static Creates the BrickStyle instance with the defaul settings.
DeflateBorderWidth(RectangleF, BorderSide, Single, BrickBorderStyle) static Deflates the specified rectangle by the specified width of the specified borders using the specified border style.
DeflateBorderWidth(RectangleF, BorderSide, Single, Boolean) Deflates the specified rectangle by the width of borders represented by this brick style, and optionally applies the current border style.
DeflateBorderWidth(RectangleF, BorderSide, Single) static Deflates the specified rectangle by the specified width of the specified borders.
DeflateBorderWidth(RectangleF, Single, Boolean) Deflates the specified rectangle by the width of borders represented by this brick style, and optionally applies the current border style.
DeflateBorderWidth(RectangleF, Single) Deflates the specified rectangle by the width of borders represented by this brick style.
Dispose() Disposes of the BrickStyle object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether or not the specified object is equal to the current BrickStyle instance.
GetHashCode() Serves as the default hash function.
GetType() Gets the Type of the current instance. Inherited from Object.
InflateBorderWidth(RectangleF, BorderSide, Single, BrickBorderStyle) static Inflates the specified rectangle by the specified width of specified borders using the specified border style.
InflateBorderWidth(RectangleF, BorderSide, Single) static Inflates the specified rectangle by the specified width of specified borders.
InflateBorderWidth(RectangleF, Single, Boolean, BorderSide) For internal use.
InflateBorderWidth(RectangleF, Single, Boolean) Inflates the specified rectangle by the width of borders represented by this brick style, and optionally applies the current border style.
InflateBorderWidth(RectangleF, Single) Inflates the specified rectangle by the width of borders represented by this brick style.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ResetBackColor() Resets the BrickStyle.BackColor property value.
ResetBorderColor() Resets the BrickStyle.BackColor property value.
ResetBorderDashStyle() Resets the BrickStyle.BorderDashStyle property value.
ResetBorders() Resets all border settings.
ResetBorderWidth() Resets the BrickStyle.BorderWidth property value.
ResetFont() Resets the BrickStyle.Font property value.
ResetForeColor() Resets the BrickStyle.ForeColor property value.
ResetPadding() Resets the BrickStyle.Padding property value.
ResetTextAlignment() Resets the BrickStyle.TextAlignment property value.
Scale(Single) Rescales the brick style to the specified ratio.
SetAlignment(HorzAlignment, VertAlignment) Sets the brick‘s alignment.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also