Click or drag to resize
ViewAttribute Constructor (String, String, String, Type, String, Keys, Boolean)
Initialize the view attribute

Namespace: Sdl.Desktop.IntegrationApi.Extensions
Assembly: Sdl.Desktop.IntegrationApi.Extensions (in Sdl.Desktop.IntegrationApi.Extensions.dll) Version: 4.0.0.0 (4.2.2764.0)
Syntax
public ViewAttribute(
	string id,
	string name,
	string description,
	Type locationByType,
	string helpTopic,
	Keys shorcut = Keys.None,
	bool allowViewParts = false
)

Parameters

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
Community
Edit

Be the first to Edit the community content of this topic.
Comments