MasterShortcut Element
Specifies a master shortcut defined in the document.
Syntax
<MasterShortcut
ID
[Name]
[NameU]
[IconSize]
[PatternFlags]
[Prompt]
[ShortcutURL]
[ShortcutHelp]
[AlignName]>
</MasterShortcut>
Attributes
ID
Required int. The unique ID of the element within its parent element.
Name
Optional String. The name of the element.
NameU
Optional String. The universal name of the element.
IconSize
Optional int. The size of the element's icon.
Value |
Description |
---|---|
1 |
Normal |
2 |
Tall |
3 |
Wide |
4 |
Double |
PatternFlags
Optional int. Determines whether a master behaves as a custom pattern.
Value |
Description |
---|---|
0 |
The master does not behave as a custom pattern. |
Non-zero |
The master behaves as a custom pattern. |
If you can use the master as a pattern, the PatternFlags attribute can include a combination of the following hexadecimal values:
Value |
Description |
---|---|
1 |
Line pattern. If selected, the pattern mode should be one of the following values:
In addition, 40 (scale) can optionally be included. |
2 |
Line end pattern. If selected, the pattern mode should be one of the following values:
In addition, 400 (scale) can optionally be included. |
4 |
Fill pattern. If selected, the pattern mode should be one of the following values:
In addition, 4000 (scale) can optionally be included. |
Prompt
Optional String. The status bar and tool tip prompt for the element.
ShortcutURL
Optional String. A URL to a MasterShortcut element. If this attribute is present, this MasterShortcut element is a shortcut.
ShortcutHelp
Optional String. A help string for the element.
AlignName
Optional int. Specifies whether the element's text in the stencil window is aligned left, right, or center.
Value |
Description |
---|---|
1 |
Align text left. |
2 |
Align text center. |
3 |
Align text right. |
Element properties
Property |
Value |
---|---|
Name |
MasterShortcut |
Minimum Occurrences |
0 |
Maximum Occurrences |
Unbounded |
Element information
Parent elements
Child elements