Question: I am trying to add a new property to existing label .NET control, like AutoSize(existing label property),

something like IsWordWrap(new custom property)=true. (so that the words can auto wrap)

Any thoughts? so that i can give LabelName.IsWordWrap=true;

Textbox has wordwrap propery, is there any way i can inherit that to label, by any means?

Answer: 
You would derive a new class from `Label` and add the logic you require. It would be much easier to simply style a `TextBox` to look like a label though.

```
using System.Windows.Forms;
// ...

class WrappingLabel : Label
{
    private bool _isWordWrap
    public bool IsWordWrap
    {
        get { return _isWordWrap; }
        set 
        {
            if( _isWordWrap != value )
            {
                _isWordWrap = value;                    
                FormatText( value );
            }
        }
    }

    private void FormatText( bool wrapped )
    {
        // logic to wrap or un-wrap text goes here.
        // you will need to call this when the text changes as well.
    }
}

```
You could also check out the solution listed [here](https://stackoverflow.com/a/3680595/360944) (there are a couple of other ones as well).