PRIMAVERA | Developers

    Show / Hide Table of Contents

    Class StdFormPainter

    Platform Standard form painter.

    Inheritance
    System.Object
    StdFormPainter
    Namespace: StdPlatBS100
    Assembly: StdPlatBS100.dll
    Syntax
    public class StdFormPainter : FormPainter

    Constructors

    StdFormPainter(XtraForm, UserLookAndFeel, HorzAlignment)

    Standard form painter creator.

    Declaration
    public StdFormPainter(XtraForm owner, UserLookAndFeel provider, HorzAlignment captionAlignment)
    Parameters
    Type Name Description
    DevExpress.XtraEditors.XtraForm owner
    DevExpress.LookAndFeel.UserLookAndFeel provider
    DevExpress.Utils.HorzAlignment captionAlignment

    StdFormPainter(XtraForm, ISkinProvider)

    Standard form painter creator.

    Declaration
    public StdFormPainter(XtraForm owner, ISkinProvider provider)
    Parameters
    Type Name Description
    DevExpress.XtraEditors.XtraForm owner
    DevExpress.Skins.ISkinProvider provider

    Properties

    CaptionAlignment

    Caption alignment.

    Declaration
    public HorzAlignment CaptionAlignment { get; set; }
    Property Value
    Type Description
    DevExpress.Utils.HorzAlignment

    Methods

    DrawBackground(GraphicsCache)

    Overrides form background.

    Declaration
    protected override void DrawBackground(GraphicsCache cache)
    Parameters
    Type Name Description
    DevExpress.Utils.Drawing.GraphicsCache cache

    DrawBorders(GraphicsCache, Boolean)

    Draw borders.

    Declaration
    protected override void DrawBorders(GraphicsCache cache, bool doubleBuffer)
    Parameters
    Type Name Description
    DevExpress.Utils.Drawing.GraphicsCache cache
    System.Boolean doubleBuffer

    DrawText(GraphicsCache)

    Draw text.

    Declaration
    protected override void DrawText(GraphicsCache cache)
    Parameters
    Type Name Description
    DevExpress.Utils.Drawing.GraphicsCache cache