CNiBinding::BindProperty

CNi

Class
CNiBinding::
BindProperty
Base ClassesData ItemsConstructorsDestructorsFunctionsGo to hierarchy chart    Prev page: ActualURLNext page: DataUpdated    
Public Data Item Declared in:
NiBinding.h

'Declaration' icon -- Shortcut to top of page. Declaration

CString BindProperty;

'Description' icon -- Shortcut to top of page. Description

The name of the property to bind to a data source or data target.

Note: This needs to be a string representation of a property on the bound object, set by the SetBindObject function.

Click the following links for the bindable properties associated with each control.

  • CNiButton
  • CNiGraph
  • CNiKnob
  • CNiNumEdit
  • CNiSlide
  • 'See Also' icon -- Shortcut to top of page. See Also

    Shortcut to top of page. Example

        // Sets the BindProperty on a CNiKnob to be the
        // CNiKnob::Value property.
    
    

    CNiKnob knob; CNiBinding binding = knob.Bindings.Item(1); binding.SetBindObject(knob); binding.BindProperty = "Value";