Absolute GradientStops in LinearGradientBrushes
问题 How can I go about specifying absolute Offset s for the GradientStop s in my LinearGradientBrush ? I have a GridView with a LinearGradientBrush as the background: <Grid.Background> <LinearGradientBrush StartPoint="0,0" EndPoint="0,1"> <LinearGradientBrush.GradientStops> <GradientStop Offset="0" Color="White" /> <GradientStop Offset="0.25" Color="White" /> <GradientStop Offset="0.4" Color="WhiteSmoke" /> </LinearGradientBrush.GradientStops> </LinearGradientBrush> </Grid.Background> When the