Exemplo n.º 1
0
        public int Add(string intake)
        {
            NRListBoxItem TMP_ITEM = new NRListBoxItem();

            TMP_ITEM.NContainer = this;
            TMP_ITEM.Content    = intake;
            Items.Add(TMP_ITEM);
            return(Items.Count);
        }
Exemplo n.º 2
0
 private void NLBI_SEL(object sender, RoutedEventArgs e)
 {
     foreach (var item in NContainer.Items)
     {
         NRListBoxItem tmpItem = item as NRListBoxItem;
         NDC.NStyle.Transition.Smooth.ListBoxItem.BorderBrush(tmpItem, Container.Colors.BACK, 250);
         NDC.NStyle.Transition.Smooth.ListBoxItem.Background(tmpItem, Container.Colors.BACK, 250);
         NDC.NStyle.Transition.Smooth.ListBoxItem.Foreground(tmpItem, Container.Colors.MAIN, 250);
     }
     NDC.NStyle.Transition.Smooth.ListBoxItem.BorderBrush(this, Container.Colors.MAIN, 250);
     NDC.NStyle.Transition.Smooth.ListBoxItem.Background(this, Container.Colors.MAIN, 250);
     NDC.NStyle.Transition.Smooth.ListBoxItem.Foreground(this, Container.Colors.BACK, 250);
 }