Share via


BaseTaskForm.BorderMargin Property

Definition

Gets the size, in pixels, of the border margin.

protected:
 virtual property int BorderMargin { int get(); };
protected virtual int BorderMargin { get; }
member this.BorderMargin : int
Protected Overridable ReadOnly Property BorderMargin As Integer

Property Value

The size, in pixels, of the border margin. The default is 12.

Examples

The following example overrides the BorderMargin method to return a border size of 14.

protected override int BorderMargin {
    get {
        return 14;
    }
}

Applies to