Softelvdm.Controls Class Library for Windows Controls 1.0

HAlign Property, GenericPartClass Class

Softel vdm, Inc.

Defines the horizontal alignment within the part's available space.

Syntax      GenericPartClass Class (Softelvdm.Controls)

VB   

Public Property HAlign As HAlignmentOptionalEnum

C#   

public HAlignmentOptionalEnum HAlign { get; set; }

C++   

public: property HAlignmentOptionalEnum HAlign {
        HAlignmentOptionalEnum get();
        void set(HAlignmentOptionalEnum value);
}

Property Value

The horizontal alignment.

HAlignmentOptionalEnum

Value

Description

Left

0

The contents are left aligned within the available space.

Center

1

The contents are centered within the available space.

Right

2

The contents are right aligned within the available space.

Default

-1

The default value is determined by a containing object or by the environment.

The default value is HAlignmentOptionalEnum.Default.

Comments

The HAlign property defines the horizontal alignment within the part's available space.

It only defines the alignment within the specific part. To define the alignment and position relative to its neighboring parts, use the PartAlignment property instead.

Version Information

Supported in version 1.0.
Products Table


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com