Click or drag to resize
RibbonGroupAttribute Class
Decorate a ribbon group of a Studio application provinding metadata informations
Inheritance Hierarchy
SystemObject
  SystemAttribute
    Sdl.Core.PluginFrameworkExtensionAttribute
      Sdl.Desktop.IntegrationApi.ExtensionsAbstractCommandBarItemAttribute
        Sdl.Desktop.IntegrationApi.ExtensionsRibbonGroupAttribute

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 class RibbonGroupAttribute : AbstractCommandBarItemAttribute

The RibbonGroupAttribute type exposes the following members.

Constructors
  NameDescription
Public methodRibbonGroupAttribute(String)
Initialize the instance of the ribbon group attribute
Public methodRibbonGroupAttribute(String, String)
Initialize the instance of the ribbon group attribute
Public methodRibbonGroupAttribute(String, Type)
Initialize the instance of the ribbon group attribute
Public methodRibbonGroupAttribute(String, String, Type)
Initialize the instance of the ribbon group attribute
Top
Properties
  NameDescription
Public propertyContextByType
Gets or sets the action context in which the action is valid. This can be a view controller type, or null if the action available globally.
(Inherited from AbstractCommandBarItemAttribute.)
Top
Remarks

The framework also provides support for getting property values from the PluginResources.resx resource file, which is deployed together with the plug-in manifest. To specify that the value of a certain string property needs to be retrieved from the resource file, annotate the property definition with the PluginResourceAttribute attribute. Users should now specify the name of the resource key, instead of the actual value, as the property value. When no resource string with the specified key can be found, the framework keeps the specified string as the property value. To define non-string properties whose value is stored in the PluginResources.resx resource file, create a string property, which value should be set to a resource key. When consuming the extension, use GetPluginResourceT(String) tio retriece the resource from the plug-in resource file.

See Also
Community
Edit

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