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;
        }