nature_net.user_controls.collection_listbox.collection_listbox_Loaded C# (CSharp) Метод

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

public collection_listbox_Loaded ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
Результат void
        void collection_listbox_Loaded(object sender, RoutedEventArgs e)
        {
            //GradientStopCollection gsc = new GradientStopCollection();
            //gsc.Add(new GradientStop(Colors.LightGray, 0.0));
            //gsc.Add(new GradientStop(Colors.LightGray, (this.Height - 18) / this.Height - 0.01));
            //gsc.Add(new GradientStop(Colors.Transparent, (this.Height - 18) / this.Height + 0.02));
            //gsc.Add(new GradientStop(Colors.Transparent, 1.0));

            //LinearGradientBrush myBrush = new LinearGradientBrush(gsc, 90);

            //this.contributions.Background = myBrush;
            this.contributions.Background = Brushes.LightGray;
        }