Udostępnij za pośrednictwem


AxEnhancedPreview

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

The AxEnhancedPreview is used to display a small preview window when the pointer hovers over a control or group of controls. You must manually add this component to the markup for the User Control. The following ASP.NET code example shows the AxEnhancedPreview that was added to a User Control:

<dynamics:AxEnhancedPreview ID="EnhancedPreview1" runat="server" Enabled="true" 
    Url="https://www.contoso.com" Height="200" Width="400">
    <asp:TextBox ID="TextBox1" runat="server" Width="117px"></asp:TextBox>
    <asp:TextBox ID="TextBox2" runat="server" Width="117px"></asp:TextBox>
    <asp:Button ID="Button1" runat="server" onclick="Button1_Click" 
        Text="Web" />
</dynamics:AxEnhancedPreview>

When the pointer hovers over any of the three components that are enclosed in the preview definition, the preview is displayed.

Properties

The AxEnhancedPreview component has the following properties:

Accessibility

Property

Description

AccessKey

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

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

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.

Behavior

Property

Description

Enabled

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

Misc

Property

Description

ID

The programmatic name of the control.

Height

The height of the preview.

ShowBullet

Indicates whether a set of bullet characters is displayed next to the control as the preview is prepared for display.

URL

The complete URL of the content to display in the preview.

Width

The width of the preview.