Click here to Skip to main content
15,911,360 members
Home / Discussions / WPF
   

WPF

 
SuggestionRe: How to Make Buttons Pin
thatraja16-Dec-13 0:36
professionalthatraja16-Dec-13 0:36 
GeneralWPF with Entity Framework. Pin
mishamit6-Dec-13 3:31
mishamit6-Dec-13 3:31 
GeneralRe: WPF with Entity Framework. Pin
Vincent Beek26-Feb-14 20:51
Vincent Beek26-Feb-14 20:51 
GeneralRe: WPF with Entity Framework. Pin
mishamit27-Feb-14 10:28
mishamit27-Feb-14 10:28 
QuestionWPF User Control Revisited Pin
Kevin Marois4-Dec-13 8:08
professionalKevin Marois4-Dec-13 8:08 
AnswerRe: WPF User Control Revisited - Figured it out, with one question though... Pin
Kevin Marois4-Dec-13 10:49
professionalKevin Marois4-Dec-13 10:49 
GeneralRe: WPF User Control Revisited - Figured it out, with one question though... Pin
Jason Gleim4-Dec-13 13:01
professionalJason Gleim4-Dec-13 13:01 
QuestionHow to Set RadProgress bar on method load Pin
ramkie3-Dec-13 18:19
ramkie3-Dec-13 18:19 
AnswerRe: How to Set RadProgress bar on method load Pin
Mycroft Holmes3-Dec-13 18:53
professionalMycroft Holmes3-Dec-13 18:53 
QuestionPass values between windows Pin
shers2-Dec-13 6:35
shers2-Dec-13 6:35 
AnswerRe: Pass values between windows Pin
Elman905-Dec-13 23:02
Elman905-Dec-13 23:02 
AnswerRe: Pass values between windows Pin
Andy41120-Dec-13 2:36
Andy41120-Dec-13 2:36 
Questionhow to access cell template control's in listview in wpf Pin
dharmaa.m1-Dec-13 7:20
dharmaa.m1-Dec-13 7:20 
AnswerRe: how to access cell template control's in listview in wpf Pin
Mycroft Holmes1-Dec-13 11:48
professionalMycroft Holmes1-Dec-13 11:48 
GeneralRe: how to access cell template control's in listview in wpf Pin
dharmaa.m1-Dec-13 22:03
dharmaa.m1-Dec-13 22:03 
AnswerRe: how to access cell template control's in listview in wpf Pin
Varsha Ramnani1-Dec-13 23:15
professionalVarsha Ramnani1-Dec-13 23:15 
GeneralRe: how to access cell template control's in listview in wpf Pin
dharmaa.m2-Dec-13 0:32
dharmaa.m2-Dec-13 0:32 
GeneralRe: how to access cell template control's in listview in wpf Pin
Varsha Ramnani2-Dec-13 1:10
professionalVarsha Ramnani2-Dec-13 1:10 
QuestionHow to send the parent name when we click on chlid Pin
Ashfaque Hussain29-Nov-13 3:41
Ashfaque Hussain29-Nov-13 3:41 
QuestionCreate two window by silverlight for windows embeded compact7 os Pin
yingkou21-Nov-13 2:09
yingkou21-Nov-13 2:09 
AnswerRe: Create two window by silverlight for windows embeded compact7 os Pin
Mycroft Holmes21-Nov-13 11:48
professionalMycroft Holmes21-Nov-13 11:48 
GeneralRe: Create two window by silverlight for windows embeded compact7 os Pin
yingkou23-Nov-13 18:02
yingkou23-Nov-13 18:02 
QuestionTrouble with MultiTrigger and IsMouseOver property Pin
t2b18-Nov-13 10:28
t2b18-Nov-13 10:28 
QuestionScroll Bar is not showing Pin
Ashfaque Hussain18-Nov-13 1:56
Ashfaque Hussain18-Nov-13 1:56 
AnswerRe: Scroll Bar is not showing Pin
t2b19-Nov-13 1:22
t2b19-Nov-13 1:22 
Hi,

you use the scroll bar on the item above. If it's a grid, the grid contains the scroll bar.
Note, the canvas height and width must exceed the window parameter. Otherwise the scroller of the scroll bar is inactive.
The scroller is only visible when the content is larger than the item that you want to display.

For example:
XML
<Window x:Class="TestWindow.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525">
    <Grid>

        <ScrollViewer VerticalScrollBarVisibility="Visible" 
                      HorizontalScrollBarVisibility="Visible">
              
              <Canvas Visibility="{Binding EnableEdit, Converter={StaticResource BoolToVis}}" 
                      Background="AliceBlue" 
                      Canvas.Left="208" 
                      Canvas.Top="174" 
                      Height="500"  <!-- this value must be greater than the window height -->
                      Width="700"   <!-- and this must be greater than the window width -->
                      Name="canvasEdit" >   
                      
                 <ItemsControl x:Name="itemsControl" 
                               Canvas.Left="{Binding SetPosition}" 
                               ItemsSource="{Binding Test}"/>
              </Canvas>
        </ScrollViewer>
    </Grid>
</Window>

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.