What is the order of Category and Description in the following code?
What it does?
plead Help me.
--------------------------------------------------------------
private class NodeProps
{
[Category("Properties")]
[Description ("The text displayed within the node.")]
public string Text
{
get { return _text; }
set { _text = value; }
}
[Category("Properties")]
[Description("The font of the node's text.")]
public Font Font
{
get { return _font; }
set { _font = value; }
}
[Category("Properties")]
[Description("The interior color of the node.")]
public Color FillColor
{
get { return _fillColor; }
set { _fillColor = value; }
}
private string _text;
private Font _font;
private Color _fillColor;
}
-----------------------------------------------------
VulpesPosted Apr 30, 2013, 7:05 AM
For more details check these links:
http://msdn.microsoft.com/en-GB/library/system.componentmodel.categoryattribute(v=vs.100).aspx
http://msdn.microsoft.com/en-us/library/system.componentmodel.descriptionattribute(v=vs.100).aspx