| ViewAttribute Constructor (String, String, String, Type, String, Keys, Boolean) |
Initialize the view 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 ViewAttribute(
string id,
string name,
string description,
Type locationByType,
string helpTopic,
Keys shorcut = Keys.None,
bool allowViewParts = false
)
Public Sub New (
id As String,
name As String,
description As String,
locationByType As Type,
helpTopic As String,
Optional shorcut As Keys = Keys.None,
Optional allowViewParts As Boolean = false
)
public:
ViewAttribute(
String^ id,
String^ name,
String^ description,
Type^ locationByType,
String^ helpTopic,
Keys shorcut = Keys::None,
bool allowViewParts = false
)
new :
id : string *
name : string *
description : string *
locationByType : Type *
helpTopic : string *
?shorcut : Keys *
?allowViewParts : bool
(* Defaults:
let _shorcut = defaultArg shorcut Keys.None
let _allowViewParts = defaultArg allowViewParts false
*)
-> ViewAttributeParameters
- id
- Type: SystemString
The unique id for this view. - name
- Type: SystemString
The name for this view. Should typically be a key of a resource string in PluginResources.resx. - description
- Type: SystemString
The description for this view. Should typically be a key of a resource string in PluginResources.resx. - locationByType
- Type: SystemType
The location where the view is loaded. - helpTopic
- Type: SystemString
The help topic identifier of the view. - shorcut (Optional)
- Type: System.Windows.FormsKeys
The shortcut key for accessing the view. - allowViewParts (Optional)
- Type: SystemBoolean
Enables or disables the view parts integration inside the view.
See Also
Comments