PrepareChildrenPropertyItem() public method

public PrepareChildrenPropertyItem ( PropertyItemBase propertyItem, object item ) : void
propertyItem PropertyItemBase
item object
return void
        private void OnPreparePropertyItemInternal(object sender, PropertyItemEventArgs args)
        {
            // This is the callback of the PreparePropertyItem comming from the template PropertyItemControl.
            args.PropertyItem.Level = this.Level + 1;
            _containerHelper.PrepareChildrenPropertyItem(args.PropertyItem, args.Item);

            args.Handled = true;
        }
Beispiel #2
0
 private void OnPreparePropertyItemInternal(object sender, PropertyItemEventArgs args)
 {
     if (_containerHelper != null)
     {
         _containerHelper.PrepareChildrenPropertyItem(args.PropertyItem, args.Item);
     }
     args.Handled = true;
 }