locked
Why do we use Bindable attribute RRS feed

  • Question

  • Hi,

    I have a very simple question. Why do we use Bindable attribute and where should we use it. Any example will be much appreciated.

    Thanks

    Vijay


    Thanks Vijay Koul

    Thursday, June 7, 2012 6:55 AM

Answers

  • http://msdn.microsoft.com/en-us/library/system.componentmodel.bindableattribute%28v=vs.100%29.aspx

    http://forums.asp.net/t/1358020.aspx/1

    This link will better explain...

    It tells the design-time system that a property is one that is intended to be data-bindable in normal scenarios. Only properties with [Bindable(true)] applied can be bound using the designer. At runtime, however, any property can be data-bound, regardless of whether it is marked as bindable.

    • Marked as answer by Vijay Koul Thursday, June 7, 2012 8:52 AM
    Thursday, June 7, 2012 7:07 AM

All replies

  • http://msdn.microsoft.com/en-us/library/system.componentmodel.bindableattribute%28v=vs.100%29.aspx

    http://forums.asp.net/t/1358020.aspx/1

    This link will better explain...

    It tells the design-time system that a property is one that is intended to be data-bindable in normal scenarios. Only properties with [Bindable(true)] applied can be bound using the designer. At runtime, however, any property can be data-bound, regardless of whether it is marked as bindable.

    • Marked as answer by Vijay Koul Thursday, June 7, 2012 8:52 AM
    Thursday, June 7, 2012 7:07 AM
  • Hi,

    I have a very simple question. Why do we use Bindable attribute and where should we use it. Any example will be much appreciated.

    Thanks

    Vijay


    Thanks Vijay Koul

    It use for bind the member to a component. 

    The following msdn forum help for understand the purpose of BindableAttribute

    http://forums.asp.net/t/1358020.aspx/1

    The following MS KB article example show the usegae

    http://support.microsoft.com/kb/327413


    Thanks and Regards Selvam http://www15.brinkster.com/selvamselvam/

    Thursday, June 7, 2012 7:26 AM