0 Replies Latest reply on Nov 8, 2007 3:39 PM by markledford

    Subclassing bindable property: verticalScrollPosition

    markledford
      When you subclass a property of a class that has the [Bindable] meta property on it, does it lose the bindability?

      I am trying to bind to a datagrid's verticalScrollPosition, I see in DataGrid>DataGridBase>ListBase>ScrollControlBase
      that it is defined with:

      [Bindable("scroll")]
      [Bindable("viewChanged")]

      But in DataGrid>DataGridBase>ListBase the verticalScrollPosition getter/setter is overridden (but still calls its super) and dosen't have its own [Bindable] meta.

      I get the error: Data binding will not be able to detect assignments to "verticalScrollPosition" when adding bind to this property on a datagrid however. Which leads me to believe the subclass needs a [Bindable] as well?