Version

SetGalleryToolFilter Method (ToolbarManagerReplayServer)

This action will be recorded when the user click an item in a PopupGalleryTool.
Syntax
'Declaration
 
Public Sub SetGalleryToolFilter( _
   ByVal OwnerType As System.String, _
   ByVal Owner As System.Object, _
   ByVal Tool As System.Object, _
   ByVal Filter As System.Object _
) 
public void SetGalleryToolFilter( 
   System.string OwnerType,
   System.object Owner,
   System.object Tool,
   System.object Filter
)

Parameters

OwnerType
a string parameter that represent the type of the owner of the specified GalleryTool. It could be one of the following options:

1. "ToolBar": The gallery tool is placed on a toolbar.

2. "MenuBar": The gallery tool is placed on a Menubar.

3. "Ribbon": The gallery tool is placed on a ribbon group.

4. "ApplicationMenu": The gallery tool is placed on the ApplicationMenu drop down.

5. "QAT": The gallery tool is placed on the QAT toolbar.

6. "Context": The gallery tool is or placed on a context menu.

Owner
The identifier for the Gallery tool owner. this parameter value depend on the "OwnerType" parameter as follow:
Tool
an object that represent the tool key/Index/ or path. When the tool is placed directly on its owner, this parameter could be the key (as string) or the index (as integer) for this tool. in the case that the tool is placed inside a popuptool , the parameter will be formatted as a menu path that include a chain of tool's key separated by comas ","
Filter
an object value that represent the item of the Gallery tool. Filters can be specified by their text or index.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also