本文件已封存並已停止維護。

Description of Properties of Form Controls

更新日期: 2010年12月

The table in this topic lists properties of System Center Service Manager 2010 form controls. This information can help you customize and create forms in the System Center Service Manager Authoring Tool.

Table of Control Properties

Most properties of Service Manager forms are based on Windows Presentation Foundation (WPF) properties, and others are defined by Service Manager. The table below provides details about the WPF-based property groups and their respective properties when applicable. For information about WPF properties, see System.Windows.Controls Namespace in the Microsoft Technical Library (http://go.microsoft.com/fwlink/?LinkId=204425).

 

Service Manager Property Group Service Manager Property Name Source of Property WPF-Based Property Group/Property Additional Information

Appearance

Opacity

WPF

UIElement/Opacity

Visibility

WPF

UIElement/Visibility

Binding

Binding Mode

WPF

Binding/Mode

Binding Path

Service Manager and WPF

Binding/Path

Binds the control to the property that the control displays. The control dynamically displays the property that it is bound to, updating the value as it changes. The type of the control and the type of the displayed property must match; for example, the type of the Binding Path property of a Date Picker control must be Date.

Binds directly to source

WPF

Binding/BindsDirectlyToSource

Date

Date Format

Service Manager

N/A

The format in which the control displays the date, such as 'Full date and time', and 'Short'.

Drawing

Source Path

Service Manager

N/A

A path to the image file in an Image control.

Stretch

WPF

Image/Stretch

Stretch Direction

WPF

Viewbox/StretchDirection

Brush

Background Brush

N/A

N/A

The background color in the control.

Foreground Brush

N/A

N/A

The foreground color in the control; basically, the color of text.

Instance

Instance Type

Service Manager

N/A

The type of the instance in a Single Instance Picker control. The value is a class such as Activity, Computer, or a custom class.

Instance type internal name

Service Manager

N/A

The internal name of the Instance Type property.

Label

Content

WPF

ContentControl/Content

A fixed string to be displayed in the label.

Font Family

WPF

TextBlock/FontFamily

Font Size

WPF

TextBlock/FontSize

Font Style

WPF

TextBlock/FontStyle

Font Weight

WPF

TextBlock/FontWeight

Label Binding Mode

WPF

Binding/Mode

Label Binding Path

Service Manager and WPF

N/A

Included in almost all controls. Binds the label of the control to the property that this control displays.

Label binds directly to source

WPF

Binding/BindsDirectlyToSource

Layout

Height

WPF

FrameworkElement/Height

Horizontal Alignment

WPF

FrameworkElement/HorizontalAlignment

Minimum Height

WPF

FrameworkElement/MinHeight

Minimum Width

WPF

FrameworkElement/MinWidth

Vertical Alignment

WPF

FrameworkElement/VerticalAlignment

Width

WPF

FrameworkElement/Width

List

List type

Service Manager

N/A

The type of list that this control displays. This can be an existing list or a custom list.

List type internal name

Service Manager

N/A

The internal name of the List type property.

Margin

Bottom

WPF

Control/Bottom

Left

WPF

Control/Left

Right

WPF

Control/Right

Top

WPF

Control/Top

Miscellaneous

Flow Direction

WPF

FrameworkElement/FlowDirection

Focusable

WPF

UIElement/Focusable

Is Enabled

WPF

UIElement/IsEnabled

Name

WPF

FrameworkElement/Name

Text

Accepts the ENTER key

WPF

TextBox/AcceptsReturn

Content

WPF

ContentControl/Content

Font Family

WPF

TextBlock/FontFamily

Font Size

WPF

TextBlock/FontSize

Font Style

WPF

TextBlock/FontStyle

Font Weight

WPF

TextBlock/FontWeight

Horizontal Scroll Bar Visibility

WPF

TextBox/HorizontalScrollBarVisibility

Max Lines

WPF

TextBox/MaxLines

Text

WPF

TextBox/Text

Text Wrapping

WPF

TextBlock/TextWrapping

Vertical Scroll Bar Visibility

WPF

TextBox/VerticalScrollBarVisibility

顯示: