Click here to Skip to main content
15,890,282 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: How to add new property to ResourceDictionary item ? Pin
Kubajzz5-Sep-10 22:24
Kubajzz5-Sep-10 22:24 
QuestionHow to bind a List to a ListBox in a UserControl Pin
davidnhilda5-Sep-10 1:10
davidnhilda5-Sep-10 1:10 
AnswerRe: How to bind a List to a ListBox in a UserControl Pin
Abhishek Sur5-Sep-10 1:22
professionalAbhishek Sur5-Sep-10 1:22 
QuestionWPF window - Get Client Rect Pin
huy.tran3-Sep-10 1:43
huy.tran3-Sep-10 1:43 
AnswerRe: WPF window - Get Client Rect Pin
Pete O'Hanlon3-Sep-10 2:00
mvePete O'Hanlon3-Sep-10 2:00 
QuestionListView Scrolling with MVVM Pin
krishnan.s2-Sep-10 19:09
krishnan.s2-Sep-10 19:09 
AnswerRe: ListView Scrolling with MVVM Pin
Abhinav S2-Sep-10 23:50
Abhinav S2-Sep-10 23:50 
AnswerRe: ListView Scrolling with MVVM Pin
krishnan.s3-Sep-10 2:24
krishnan.s3-Sep-10 2:24 
I need to scroll the listview on a button click. Iam following MVVM pattern. I tried the following but it is not working.

<local:SortableListView  x:Name="headLinesGridView" IsSynchronizedWithCurrentItem="True"  Style="{DynamicResource ListViewStyle}" ScrollViewer.VerticalScrollBarVisibility="Hidden"<br />
                           ItemsSource="{Binding Source={StaticResource TestDataSource}}" ItemContainerStyle="{StaticResource headLinesGridViewStyle}"<br />
                           ColumnHeaderSortedAscendingTemplate="HeaderTemplateArrowUp" ColumnHeaderSortedDescendingTemplate="HeaderTemplateArrowDown" ColumnHeaderNotSortedTemplate="HeaderTemplateTransparent"><br />
            <ListView.View>                   <br />
                <GridView ColumnHeaderContainerStyle="{StaticResource gridViewHeaderStyle}" ColumnHeaderTemplate="{StaticResource HeaderTemplateTransparent}"><br />
                    <local:SortableGridViewColumn Header="ID" DisplayMemberBinding="{Binding ID}" SortPropertyName="ID" Width="50" /><br />
                    <local:SortableGridViewColumn Header="First Name" DisplayMemberBinding="{Binding FirstName}" SortPropertyName="FirstName"  IsDefaultSortColumn="True"/><br />
                    <local:SortableGridViewColumn Header="Last Name" DisplayMemberBinding="{Binding LastName}" SortPropertyName="LastName" /><br />
                    <local:SortableGridViewColumn Header="Date of Birth" DisplayMemberBinding="{Binding DateOfBirth}" SortPropertyName="DateOfBirth" /><br />
                    <local:SortableGridViewColumn Header="QueueStatus" SortPropertyName="QueueStatus" IsDefaultSortColumn="True" CellTemplate="{StaticResource IconCellTemplate}"/><br />
                </GridView>              <br />
            </ListView.View><br />
            <ListView.ItemsPanel><br />
                <ItemsPanelTemplate><br />
                  <WrapPanel Orientation="Vertical"></WrapPanel><br />
                </ItemsPanelTemplate><br />
            </ListView.ItemsPanel><br />
        </local:SortableListView>            <br />
        <Button Grid.Row="1" Command="ScrollBar.LineDownCommand" CommandTarget="{Binding ElementName = Test}">Scroll Down</Button>

GeneralRe: ListView Scrolling with MVVM Pin
Pete O'Hanlon3-Sep-10 3:12
mvePete O'Hanlon3-Sep-10 3:12 
GeneralRe: ListView Scrolling with MVVM Pin
Abhinav S3-Sep-10 4:39
Abhinav S3-Sep-10 4:39 
QuestionPhysicalMedia-Class Pin
holzmcgyver2-Sep-10 14:38
holzmcgyver2-Sep-10 14:38 
AnswerRe: PhysicalMedia-Class Pin
Pete O'Hanlon2-Sep-10 22:48
mvePete O'Hanlon2-Sep-10 22:48 
QuestionWPF Listbox Pin
Drathmar2-Sep-10 10:57
Drathmar2-Sep-10 10:57 
QuestionRe: WPF Listbox Pin
AspDotNetDev3-Sep-10 12:02
protectorAspDotNetDev3-Sep-10 12:02 
AnswerRe: WPF Listbox Pin
Dave Kerr3-Sep-10 23:18
mentorDave Kerr3-Sep-10 23:18 
GeneralRe: WPF Listbox Pin
Drathmar23-Sep-10 11:01
Drathmar23-Sep-10 11:01 
AnswerRe: How to control the text and other properties in ResourceDictionary object that i wrote ? Pin
Abhinav S2-Sep-10 4:04
Abhinav S2-Sep-10 4:04 
QuestionGenerate decimal point automatically while entering in textbox in wpf Pin
sumit70341-Sep-10 19:43
sumit70341-Sep-10 19:43 
AnswerRe: Generate decimal point automatically while entering in textbox in wpf Pin
Christian Graus1-Sep-10 20:06
protectorChristian Graus1-Sep-10 20:06 
AnswerRe: Generate decimal point automatically while entering in textbox in wpf Pin
Abhinav S1-Sep-10 20:47
Abhinav S1-Sep-10 20:47 
GeneralRe: Generate decimal point automatically while entering in textbox in wpf Pin
sumit70341-Sep-10 21:39
sumit70341-Sep-10 21:39 
AnswerRe: Generate decimal point automatically while entering in textbox in wpf Pin
Pete O'Hanlon1-Sep-10 23:07
mvePete O'Hanlon1-Sep-10 23:07 
AnswerRe: Generate decimal point automatically while entering in textbox in wpf Pin
V.2-Sep-10 20:16
professionalV.2-Sep-10 20:16 
GeneralRe: Generate decimal point automatically while entering in textbox in wpf Pin
Pete O'Hanlon2-Sep-10 22:38
mvePete O'Hanlon2-Sep-10 22:38 
GeneralRe: Generate decimal point automatically while entering in textbox in wpf Pin
V.2-Sep-10 22:47
professionalV.2-Sep-10 22:47 

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.