Exemple #1
0
 protected override void OnAttached()
 {
     base.OnAttached();
     _itemType = AssociatedObject is GridView ? SelectorItemType.GridViewItem : SelectorItemType.ListViewItem;
     AssociatedObject.ChoosingItemContainer    += OnChoosingItemContainer;
     AssociatedObject.ContainerContentChanging += OnContainerContentChanging;
     ProcessMappings();
 }
Exemple #2
0
 public SelectorItem(string label, IMaybe <TypeConstraint> typeConstraint, SelectorItemType selectorItemType) : this()
 {
     Label            = label;
     TypeConstraint   = typeConstraint;
     SelectorItemType = selectorItemType;
 }