Email: Password:       Forgot Password 
A Saarsha Group Online Community for dot net codes group like C#, Asp.NET, VB.NET, Sharepoint, JavaScript, JQuery, Ajax, SQL, WCF, WPF.

ScrollViewer in WPF

Viewed:  1667 
Posted On:  23/09/2012 05:20:55 
n this article I am explaining how to create ScrollViewer in WPF. 

In this article I am going to explain how we can use ScrollViewer in WPFIn the below example I am using a Image inside a ScrollViewer control.

This is my XAML code..

<Window x:Class="ScrollBarInWPF.Window1"
    Title="Window1" Height="500" Width="500">
        <Label Name="lblRed"></Label>
        <ScrollViewer VerticalScrollBarVisibility="Visible" HorizontalScrollBarVisibility="Visible">
            <Image Source="007.jpg" Width="1100" Height="1100"></Image>

When I run my application..


Figure 1.


Figure 2.

         HOME   |   Submit Article   |   Contact Us   |   About Us   |   Terms & Condition   |   Advertise With us