ComponentOne Reports for WPF
C1.C1Report Namespace / Field Class / BorderStyle Property

In This Topic
    BorderStyle Property (Field)
    In This Topic
    Gets or sets the field's border style.
    Syntax
    'Declaration
     
    Public Property BorderStyle As BorderStyleEnum
    public BorderStyleEnum BorderStyle {get; set;}
    Remarks

    To draw a border around a field, set the following properties:

    C1.C1Preview.C1Report.Field.BorderColor to define the border color.

    C1.C1Preview.C1Report.Field.BorderStyle to define the border style (e.g., solid, dashed, etc.).

    C1.C1Preview.C1Report.Field.LineWidth to define the border width (in twips).

    When you create fields with text and a border, text will be positioned very close to the border. You can control the distance between the text and the border using the Field.MarginLeft, Field.MarginRight, Field.MarginTop, and Field.MarginBottom properties.

    To draw lines, see the Field.LineSlant property.

    See Also