Udostępnij za pośrednictwem


AxColumn

Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

The AxColumn component acts as a container for groups of other controls that are to be arranged into a column. The AxColumn component can be placed in only an AxMultiColumn component. Frequently, AxGroup controls are placed inside the AxColumn component.

Properties

The AxColumn component has the following properties.

Accessibility

Property

Description

AccessKey

The keyboard shortcut used by the control. Not used for Enterprise Portal.

TabIndex

Specifies the tab order of the control.

Appearance

Property

Description

BackColor

This property is inherited from the base control. It is not specific to Enterprise Portal.

BorderColor

This property is inherited from the base control. It is not specific to Enterprise Portal.

BorderStyle

This property is inherited from the base control. It is not specific to Enterprise Portal.

BorderWidth

This property is inherited from the base control. It is not specific to Enterprise Portal.

CssClass

Specifies the cascading style sheet class name associated with the AxColumn component. Typically, this is set to dynColumn so the cascading style sheet for Enterprise Portal can format the component.

Font

This property is inherited from the base control. It is not specific to Enterprise Portal.

ForeColor

This property is inherited from the base control. It is not specific to Enterprise Portal.

Behavior

Property

Description

Enabled

Specifies whether the column control is enabled.

EnableTheming

Indicates whether the control can be themed.

EnableViewState

Specifies whether the control automatically saves its state for use in round-trips.

SkinID

The SkinId of the control skin that provides the skin of the control.

ToolTip

Not used for Enterprise Portal.

Visible

Indicates whether the control is visible and rendered.

Data

Property

Description

Expressions

The expressions that are bound to properties of the control.

Layout

Property

Description

Height

The height of the control.

Width

The width of the control. Currently, this property is not used by Enterprise Portal. To specify the width of the column, you must supply a Style attribute in the markup. You will do this for all of the AxColumn components in an AxMultiColumn group. Percentage values that total to 100% are typically used to specify the width of each column. The following example shows the markup for an AxColumn component that has 30% as the column width:

<dynamics:AxColumn ID="AxColumn2" runat="server" Style="width: 30% !important;">

Misc

Property

Description

ID

The programmatic name of the control.

Events

The AxColumn component has the events listed in the following table.

Event

Description

DataBinding

Occurs when the server control binds to a data source.

Disposed

Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested.

Init

Occurs when the server control is initialized, which is the first step in its lifecycle.

Load

Occurs when the server control is loaded into the System.Web.UI.Page object.

PreRender

Occurs after the System.Web.UI.Control object is loaded by prior to rendering.

Unload

Occurs when the server control is unloaded from memory.