A
Amal Raj U
Guest
Hi All,
I am developing a common SmartTag panel for my controls using the below MSDN article Smart Tag Tutorial This link is helpful.
However, i could not understand adding the action items in control designers ActionLists property. In the derived ControlDesigner class, instance of the derived DesignerActionList is added and the action items of the SmartTag panel is added to the ActionLists property. I could not get the process of adding the action items by instance of designeractionlist.
And also as i am developing a common SmartTag UI, i need to develop the classes as Abstract so that the basic SmartTag can be derived. But i could not make the derived DesignActionList class as Abstract class, since the instance of the class is added to ActionLists like below,
public override DesignerActionListCollection ActionLists
{
get
{
if (null == actionLists)
{
actionLists = new DesignerActionListCollection();
actionLists.Add(
new ColorLabelActionList(this.Component));
}
return actionLists;
}
}
Please let me know, how can i develop a common SmartTag UI as Abstract class.
Thanks and regards,
Amal Raj U
Continue reading...
I am developing a common SmartTag panel for my controls using the below MSDN article Smart Tag Tutorial This link is helpful.
However, i could not understand adding the action items in control designers ActionLists property. In the derived ControlDesigner class, instance of the derived DesignerActionList is added and the action items of the SmartTag panel is added to the ActionLists property. I could not get the process of adding the action items by instance of designeractionlist.
And also as i am developing a common SmartTag UI, i need to develop the classes as Abstract so that the basic SmartTag can be derived. But i could not make the derived DesignActionList class as Abstract class, since the instance of the class is added to ActionLists like below,
public override DesignerActionListCollection ActionLists
{
get
{
if (null == actionLists)
{
actionLists = new DesignerActionListCollection();
actionLists.Add(
new ColorLabelActionList(this.Component));
}
return actionLists;
}
}
Please let me know, how can i develop a common SmartTag UI as Abstract class.
Thanks and regards,
Amal Raj U
Continue reading...