| ActionLayoutAttribute Constructor |
Initialize the instance of the action layout attribute.
Namespace: Sdl.Desktop.IntegrationApi.ExtensionsAssembly: Sdl.Desktop.IntegrationApi.Extensions (in Sdl.Desktop.IntegrationApi.Extensions.dll) Version: 4.0.0.0 (4.2.2764.0)
Syntaxpublic ActionLayoutAttribute(
Type locationByType,
uint zIndex = 0,
DisplayType displayType = DisplayType.Default,
string name = "",
bool isSeparator = false
)
Public Sub New (
locationByType As Type,
Optional zIndex As UInteger = 0,
Optional displayType As DisplayType = DisplayType.Default,
Optional name As String = "",
Optional isSeparator As Boolean = false
)
public:
ActionLayoutAttribute(
Type^ locationByType,
unsigned int zIndex = 0,
DisplayType displayType = DisplayType::Default,
String^ name = L"",
bool isSeparator = false
)
new :
locationByType : Type *
?zIndex : uint32 *
?displayType : DisplayType *
?name : string *
?isSeparator : bool
(* Defaults:
let _zIndex = defaultArg zIndex 0
let _displayType = defaultArg displayType DisplayType.Default
let _name = defaultArg name ""
let _isSeparator = defaultArg isSeparator false
*)
-> ActionLayoutAttributeParameters
- locationByType
- Type: SystemType
The location where the visual representation of the action should be added. - zIndex (Optional)
- Type: SystemUInt32
Defines a 0 based index order for the UI elements where the highest value is the most important. - displayType (Optional)
- Type: Sdl.Desktop.IntegrationApi.ExtensionsDisplayType
The UI display type of the action. - name (Optional)
- Type: SystemString
Used to override the default name of the action and replace it with a new provided name. - isSeparator (Optional)
- Type: SystemBoolean
Is separator determines if a separator should be added before the action
Remarks
You may use as a locationByType
A predefined location (eq AddinsRibbonTabLocation).An integrated ribbon group class type.
See Also
Comments