Example #1
0
        private void OnClearPropertyItemInternal(object sender, PropertyItemEventArgs args)
        {
            _containerHelper.ClearChildrenPropertyItem(args.PropertyItem, args.Item);
            // This is the callback of the PreparePropertyItem comming from the template PropertyItemControl.
            args.PropertyItem.Level = 0;

            args.Handled = true;
        }
Example #2
0
 private void OnClearPropertyItemInternal(object sender, PropertyItemEventArgs args)
 {
     _containerHelper.ClearChildrenPropertyItem(args.PropertyItem, args.Item);
     args.Handled = true;
 }