Use Slider to control the Blur : Slider « Windows Presentation Foundation « C# / C Sharp

Home
C# / C Sharp
1.2D Graphics
2.Class Interface
3.Collections Data Structure
4.Components
5.Data Types
6.Database ADO.net
7.Date Time
8.Design Patterns
9.Development Class
10.Event
11.File Stream
12.Generics
13.GUI Windows Form
14.Internationalization I18N
15.Language Basics
16.LINQ
17.Network
18.Office
19.Reflection
20.Regular Expressions
21.Security
22.Services Event
23.Thread
24.Web Services
25.Windows
26.Windows Presentation Foundation
27.XML
28.XML LINQ
C# / C Sharp » Windows Presentation Foundation » SliderScreenshots 
Use Slider to control the Blur
Use Slider to control the Blur
    
<Window x:Class="BitmapEffects.Window4"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  Title="Bitmap Effects" Height="538" Width="600"
  >
    <StackPanel>
        <Ellipse Height="100" Width="100" Fill="Red" Stroke="Black">
            <Ellipse.BitmapEffect>
                <BlurBitmapEffect 
            Radius="{Binding Path=Value, ElementName=sliderBlur}"
              />
            </Ellipse.BitmapEffect>
        </Ellipse>
        <TextBlock>Blur</TextBlock>
        <Slider Minimum="0" Maximum="10" Name="sliderBlur" Value="14"/>
        <TextBox Text="{Binding ElementName=sliderBlur, Path=Value}"/>

    </StackPanel>
</Window>

   
    
    
    
  
Related examples in the same category
1.Use Slider to control the ScaleTransformUse Slider to control the ScaleTransform
2.Use Slider to control SkewTransformUse Slider to control SkewTransform
3.Use Slider to control TranslateTransformUse Slider to control TranslateTransform
4.Use Slider to control the TransformationUse Slider to control the Transformation
5.Bind Slider value to TextBlockBind Slider value to TextBlock
6.Use Slider to control Drop ShadowUse Slider to control Drop Shadow
7.Use Slider to control the EmbossUse Slider to control the Emboss
8.Use Slider to control the GlowUse Slider to control the Glow
9.Use Slider to control the BevelUse Slider to control the Bevel
10.Vertical/Horizontal SliderVertical/Horizontal Slider
11.TickPlacement and TickFrequency for Slider
12.Binding ProgressBar with SliderBinding ProgressBar with Slider
13.Two way data binding between Slider and ProgressBarTwo way data binding between Slider and ProgressBar
14.Set Minimun/Maximum value for SliderSet Minimun/Maximum value for Slider
15.Use Slider to control Path ScalingUse Slider to control Path Scaling
16.Add a slider control and a border control to the content of the StackPanel, and add a canvas to the border control.Add a slider control and a border control to the content of the StackPanel, and add a canvas to the border control.
17.Slider AttributesSlider Attributes
18.Get User Input from a SliderGet User Input from a Slider
19.slider value changed eventslider value changed event
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.