Class ToolStripExService
Inheritance
System.Object
ToolStripExService
Implements
System.IServiceProvider
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Tools.Design
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class ToolStripExService : IServiceProvider
Constructors
ToolStripExService(IServiceContainer)
Declaration
protected ToolStripExService(IServiceContainer services)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.Design.IServiceContainer | services |
Properties
Designers
Declaration
public Hashtable Designers { get; }
Property Value
Type |
---|
System.Collections.Hashtable |
Destination
Destination for newly created ToolStripItems
Declaration
public ToolStrip Destination { get; set; }
Property Value
Type |
---|
System.Windows.Forms.ToolStrip |
PrimarySelection
Declaration
public object PrimarySelection { get; }
Property Value
Type |
---|
System.Object |
Methods
AddItem(ToolStripPanelItem)
Declaration
public virtual void AddItem(ToolStripPanelItem item)
Parameters
Type | Name | Description |
---|---|---|
ToolStripPanelItem | item |
Get(ISite)
Declaration
public static ToolStripExService Get(ISite site)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.ISite | site |
Returns
Type |
---|
ToolStripExService |
GetService(Type)
Declaration
public virtual object GetService(Type serviceType)
Parameters
Type | Name | Description |
---|---|---|
System.Type | serviceType |
Returns
Type |
---|
System.Object |
RemoveItem(ToolStripPanelItem)
Declaration
public virtual void RemoveItem(ToolStripPanelItem item)
Parameters
Type | Name | Description |
---|---|---|
ToolStripPanelItem | item |
Events
ToolStripItemAdded
Declaration
public event ToolStripItemEventHandler ToolStripItemAdded
Event Type
Type |
---|
System.Windows.Forms.ToolStripItemEventHandler |
ToolStripItemRemoved
Declaration
public event ToolStripItemEventHandler ToolStripItemRemoved
Event Type
Type |
---|
System.Windows.Forms.ToolStripItemEventHandler |
Implements
System.IServiceProvider