Set property to multiple objects from property grid
<p>In visual studio, when we select multiple labels on form and try to set font property for all labels selected, then it will set for all selected objects and when you select individual label later, it will show you the same font what we set earlier. How can I achive this in C# for property grid? My requirement is to set properties such as font, color for multiple objects(this I am able to achieve), but facing problem when updating the property grid.</p>

<pre><code>public Font TextFont
        {
            get { return textFont; }
            set
            {
                textFont = value;
                if (parentItem != null)
                {
                    parentItem.Font = value;
                    parentItem.Tag = this;
                }
            }
        } 
</code></pre>

<p>so this is how we are setting the font for the selected objects on the canvas When I select multiple objects, how can I manage</p>

<p>Thanks
Sarayu</p>
