Skip to end of metadata
Go to start of metadata

Represents a class for border.

Definition

public sealed class Border : ComponentBase

Summary

The following table summarizes the members exposed in this class.

Public Constructors

Border Constructor() Create an instance of Border.
Border Constructor(Thickness, Brush, PenStyle) Create an instance of Border.

Public Properties

BorderBrush Gets or sets the border brush.
BorderStyle Gets or sets the border style.
BorderThickness Gets or sets the border thickness.
BottomSide Gets or sets the bottom side border.
DropShadowEffect Gets or sets the drop shadow effect.
LeftSide Gets or sets the left side border.
RightSide Gets or sets the right side border.
ShadowColor Gets or sets the shadow color.
ShadowDepth Gets or sets the shadow depth.
TopSide Gets or sets the top side border.

Fields

BorderBrushProperty Identifies the BorderBrush property description.
BorderStyleProperty Identifies the BorderStyle property description.
BorderThicknessProperty Identifies the BorderThickness property description.
BottomSideProperty Identifies the BottomSide property description.
DropShadowEffectProperty Identifies the DropShadowEffect property description.
LeftSideProperty Identifies the LeftSide property description.
RightSideProperty Identifies the RightSide property description.
ShadowColorProperty Identifies the ShadowColor property description.
ShadowDepthProperty Identifies the ShadowDepth property description.
TopSideProperty Identifies the TopSide property description.

Public Methods

Equals(Border) Returns a value indicating whether this instance and a specified border object represent the same value.
ToString() Returns a string that represents the current object.

Public Constructors

public Border()

Create an instance of Border.

public Border(Thickness borderThickness, Brush borderBrush, PenStyle borderStyle)

Create an instance of Border.

Parameters

borderThickness The border thickness.
borderBrush The border brush.
borderStyle The border style.

Public Properties

public Brush BorderBrush { get; set; }

Gets or sets the border brush.

public PenStyle BorderStyle { get; set; }

Gets or sets the border style.

public Thickness BorderThickness { get; set; }

Gets or sets the border thickness.

public BorderSide BottomSide { get; set; }

Gets or sets the bottom side border.

public bool DropShadowEffect { get; set; }

Gets or sets the drop shadow effect.

public BorderSide LeftSide { get; set; }

Gets or sets the left side border.

public BorderSide RightSide { get; set; }

Gets or sets the right side border.

public Color ShadowColor { get; set; }

Gets or sets the shadow color.

public double ShadowDepth { get; set; }

Gets or sets the shadow depth.

public BorderSide TopSide { get; set; }

Gets or sets the top side border.

Fields

public static PropertyDescription BorderBrushProperty

Identifies the BorderBrush property description.

public static PropertyDescription BorderStyleProperty

Identifies the BorderStyle property description.

public static PropertyDescription BorderThicknessProperty

Identifies the BorderThickness property description.

public static PropertyDescription BottomSideProperty

Identifies the BottomSide property description.

public static PropertyDescription DropShadowEffectProperty

Identifies the DropShadowEffect property description.

public static PropertyDescription LeftSideProperty

Identifies the LeftSide property description.

public static PropertyDescription RightSideProperty

Identifies the RightSide property description.

public static PropertyDescription ShadowColorProperty

Identifies the ShadowColor property description.

public static PropertyDescription ShadowDepthProperty

Identifies the ShadowDepth property description.

public static PropertyDescription TopSideProperty

Identifies the TopSide property description.

Public Methods

public bool Equals(Border comparer)

Returns a value indicating whether this instance and a specified border object represent the same value.

Parameters

comparer A border object to compare to this instance.

Return Types

true if obj is equal to this instance; otherwise, false.

public string ToString()

Returns a string that represents the current object.

Return Types

A string that represents the current object.
  • No labels