Bendrinti naudojant


AxSection

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

The AxSection component acts as a container for groups of other controls. The AxSection component can be placed in only an AxMultiSection component. AxGroup components are placed inside the AxSection. AxMultiColumn components are also placed inside the AxSection to provide multiple columns for the section.

The AxSection can display summary values (called FastTabs) in the header of the section. You may have to set the FastTabSummary property of each AxBoundField to have the specific field appear in the summary.

Properties

The AxSection component has the following properties:

Accessibility

Property

Description

AccessKey

Not used for Enterprise Portal.

Caption

The caption displayed for the section.

TabIndex

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 AxSection component. Typically, this is set to dynSection 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 section is enabled.

EnableViewState

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

Expanded

Indicates whether the section is expanded or collapsed.

PostBackOnCollapseExpand

When set to true, a postback occurs when the section is expanded or collapsed.

ShowBorder

Indicates whether the section displays a border.

ShowHeader

Indicates whether the section displays a header.

ToolTip

Specifies 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.

Layout

Property

Description

NumberOfSummaryFields

Specifies the maximum number of fields to show on the summary header for the section. If the value is 0, no fields are shown on the summary header.

SummaryFieldGroupName

Specifies the field group that contains the fields to be displayed on the summary header for the section.

Misc

Property

Description

ID

The programmatic name of the control.

Events

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

Event

Description

Activate

Occurs when the section becomes active.

DataBinding

Occurs when the server control binds to a data source.

Deactivate

Occurs when the section is no longer the active section.

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.

RenderingSummaryField

Occurs for each field being rendered for the summary header after they were selected.

SectionCollapsed

Occurs after the section has been collapsed.

SectionCollapsing

Occurs after the collapse button has been clicked, but before the section has been collapsed.

SectionExpanded

Occurs after the section has been expanded.

SectionExpanding

Occurs after the expand button has been clicked, but before the section has been expanded.

Unload

Occurs when the server control is unloaded from memory.