ClearChildrenPropertyItem() публичный Метод

public ClearChildrenPropertyItem ( PropertyItemBase propertyItem, object item ) : void
propertyItem PropertyItemBase
item object
Результат void
        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;
        }
Пример #2
0
 private void OnClearPropertyItemInternal(object sender, PropertyItemEventArgs args)
 {
     if (_containerHelper != null)
     {
         _containerHelper.ClearChildrenPropertyItem(args.PropertyItem, args.Item);
     }
     args.Handled = true;
 }