Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Grid x:Name="rabGrid">
- <Grid.Background>
- <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
- <GradientStop Color="#FF080D39"/>
- <GradientStop Color="White"/>
- <GradientStop Color="#FF838589" Offset="1"/>
- <GradientStop Color="#FF2E4999" Offset="0.997"/>
- </LinearGradientBrush>
- </Grid.Background>
- private void rTheme_Click(object sender, RoutedEventArgs e)
- {
- LinearGradientBrush rabThem = new LinearGradientBrush();
- rabThem.StartPoint = new Point(0.5, 0);
- rabThem.EndPoint = new Point(0.5, 1);
- GradientStop rabThemStop = new GradientStop();
- rabThemStop.Color = Color.FromArgb(100, 8, 13, 57);
- GradientStop rabThemStop1 = new GradientStop();
- rabThemStop1.Color = Colors.White;
- GradientStop rabThemStop2 = new GradientStop();
- rabThemStop2.Color = Color.FromArgb(100, 131, 133, 137);
- rabThemStop2.Offset = 1;
- GradientStop rabThemStop3 = new GradientStop();
- rabThemStop3.Color = Color.FromArgb(100, 46, 73, 153);
- rabThemStop3.Offset = .997;
- }
- clasGrid.Background = new LinearGradientBrush();
- clasGrid.StartPoint = new Point(0.5, 0);
- clasGrid.EndPoint = new Point(0.5, 1);
- clasGrid.Background = new LinearGradientBrush(Colors.LightBlue, Colors.SlateBlue, 90);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement