bind property

({RowColumnDefinition Function(Binding binding) $1, RowColumnDefinition Function([String? targetprop, String? sourceprop, TargetConversion? conv, BackConversion? backconv]) $2}) get bind

Overload accessor: $1, $2

Implementation

({
  /// Add a data-binding of a property on this RowColumnDefinition to a property on a data object.
  ///  You can pass in the arguments to a new Binding: `.bind(a, b)` instead of calling `.bind(new go.Binding(a, b)`.
  ///
  ///  Read more about Bindings at <a href="../../intro/dataBinding.html">the Introduction page about Data Bindings</a>.
  ///  @param {Binding} binding
  ///  @return {RowColumnDefinition} this RowColumnDefinition
  _i3.RowColumnDefinition Function(_i3.Binding binding) $1,

  /// Add a data-binding to this RowColumnDefinition for the given property names and optional conversion function.
  ///  You can pass in the arguments to a new Binding: `.bind(a, b)` instead of calling `.bind(new go.Binding(a, b)`.
  ///
  ///  @param {string=} targetprop A string naming the target property on the target object.
  ///    This should not be the empty string.
  ///  @param {string=} sourceprop A string naming the source property on the bound data object.
  ///    If this is the empty string, the whole Panel#data object is used.
  ///    If this argument is not supplied, the source property is assumed to be the same as the target property.
  ///  @param {TargetConversion=} conv An optional side-effect-free function converting the data property value to the value to set the target property.
  ///    If the function is null or not supplied, no conversion takes place.
  ///  @param {BackConversion=} backconv An optional conversion function to convert property values back to data values.
  ///  Specifying this modifies the binding to set its Binding#mode to be Binding.TwoWay.
  ///  If you want a two-way binding without a back-conversion function, call this method with the new Binding
  ///  argument instead, and call Binding#makeTwoWay on it: `.bind(new go.Binding(...).makeTwoWay())`
  ///  @return {RowColumnDefinition} this RowColumnDefinition
  ///  @since 2.2
  _i3.RowColumnDefinition Function([
    _i2.String? targetprop,
    _i2.String? sourceprop,
    _i3.TargetConversion? conv,
    _i3.BackConversion? backconv,
  ]) $2,
}) get bind => (
      $1: _bind$1,
      $2: _bind$2,
    );