Udostępnij za pośrednictwem


AxGroup

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

The AxGroup component acts as a container for fields in a form. The AxGroup component is frequently placed within an AxSection component or an AxColumn component.

Use the Bound Field Designer to select the fields displayed in the group. The designer is accessed through the Fields collection property for the AxGroup component.

Properties

The AxGroup component has the following properties:

Accessiblity

Property

Description

AccessKey

The keyboard shortcut used by the control.

AutoGenerateCaption

Specifies whether the caption for the group will be displayed.

Caption

The caption text for the group.

CaptionAlign

Specifies the alignment for the group caption.

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

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

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.

GridLines

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

Behavior

Property

Description

Enabled

Specifies whether the group is enabled.

EnableTheming

Indicates whether the control can be themed.

EnableViewState

Indicates 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

The tooltip displayed when the mouse is over the control.

Visible

Indicates whether the control is visible and rendered.

Data

Property

Description

Expressions

The expressions that are bound to properties of the control.

FormID

Specifies the AxForm component that the group is part of.

Layout

Property

Description

CellPadding

Specifies the padding for the group.

CellSpacing

Specifies the spacing between groups.

DataCellCssClass

Specifies the additional CSS class for data cells in the AxGroup.

Height

Specifies the height of the control.

HorizontalAlign

Specifies the horizontal alignment of the group.

LabelCellCssClass

Specifies the additional CSS class for label cells in the AxGroup.

Width

Specifies the width of the group.

Misc

Property

Description

ID

The programmatic name of the control.

DataBoundControl

The form control that the fields in the group will be using to access data.

DataControlFieldCollection

The collection of bound fields for the group. Use the Fields property to select the fields for the group.

Fields

The collection of fields shown in the group. Use the Bound Field Designer accessed through this property to specify the fields in the group.

Styles

Property

Description

AlternatingRowStyle

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

EditRowStyle

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

EmptyDataRowStyle

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

FieldHeaderStyle

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

InsertRowStyle

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

RowStyle

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

Events

The AxGroup 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.