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

WPF

 
QuestionDetection of physical keyboard on Windows 7 in a desktop WPF application Pin
Jenny D30-May-14 12:04
Jenny D30-May-14 12:04 
AnswerRe: Detection of physical keyboard on Windows 7 in a desktop WPF application Pin
Bernhard Hiller2-Jun-14 0:20
Bernhard Hiller2-Jun-14 0:20 
GeneralRe: Detection of physical keyboard on Windows 7 in a desktop WPF application Pin
Jenny D4-Jun-14 11:49
Jenny D4-Jun-14 11:49 
QuestionMediaElement not releasing the file on its Close() method in WPF Pin
Praveen Raghuvanshi28-May-14 17:59
professionalPraveen Raghuvanshi28-May-14 17:59 
AnswerRe: MediaElement not releasing the file on its Close() method in WPF Pin
Gerry Schmitz29-May-14 10:40
mveGerry Schmitz29-May-14 10:40 
GeneralRe: MediaElement not releasing the file on its Close() method in WPF Pin
Praveen Raghuvanshi3-Jun-14 23:55
professionalPraveen Raghuvanshi3-Jun-14 23:55 
QuestionCombobox - Highlights first letter typed after gained focus Pin
Clint Dow27-May-14 7:49
Clint Dow27-May-14 7:49 
QuestionDisplay Alternative images based on AlternationCount=2 in listbox in wpf application ..its not Displaying Pin
Member 785476927-May-14 0:46
Member 785476927-May-14 0:46 
hi,
i am trying to display Alternative images in listbox

XML
<ListBox  AlternationCount="2" x:Name="lstTiles1" Margin="0" >
<ListBox.ItemTemplate>
<DataTemplate>
<canvas>
   <Image Source="Images\Tiles\Folder-n-design(right).png" Name="imgLoadRight" Margin="0,10,0,0"    Visibility="Collapsed"  />
                   <Image Source="Images\Tiles\Folder-n-design(center).png" Name="imgLoadCenter" Margin="0,100,0,0"  Visibility="Collapsed"  />
                    <Image Source="Images\Tiles\Folder-n-design.png" Name="imgLoadLeft" Margin="0,100,0,0"  Visibility="Collapsed"  />
                    <TextBlock VerticalAlignment="Top" Text="{Binding Name}" FontSize="16" FontWeight="Bold"    Margin="90,20,0,0" Foreground="Black" />
                </canvas>
          <DataTemplate.Triggers>
                    <Trigger Property="ItemsControl.AlternationIndex" Value="0">
                        <Setter TargetName="imgLoadRight" Property="Visibility"    Value="Visible" />
                          </Trigger>
                    <Trigger Property="ItemsControl.AlternationIndex" Value="1">
              <Setter TargetName="imgLoadCenter" Property="Visibility"    Value="Visible" />
                    </Trigger>
                </DataTemplate.Triggers>

            </DataTemplate>

<listbox.itemtemplate>


help me to display the Alternative Images...
nazeerpc


modified 28-May-14 8:03am.

QuestionMake a 3D casino spin wheel in Silverlight. Pin
Vishal Kumar Singh26-May-14 23:17
Vishal Kumar Singh26-May-14 23:17 
AnswerRe: Make a 3D casino spin wheel in Silverlight. Pin
amigoface27-May-14 2:16
amigoface27-May-14 2:16 
Questionhow to drag and drop with image preview in wpf using c# Pin
kalsa23-May-14 21:20
kalsa23-May-14 21:20 
QuestionBest Practice for using WPF Resources Pin
hari111r19-May-14 19:14
hari111r19-May-14 19:14 
AnswerRe: Best Practice for using WPF Resources Pin
Mycroft Holmes19-May-14 21:22
professionalMycroft Holmes19-May-14 21:22 
GeneralRe: Best Practice for using WPF Resources Pin
hari111r19-May-14 23:52
hari111r19-May-14 23:52 
GeneralRe: Best Practice for using WPF Resources Pin
Mycroft Holmes20-May-14 13:02
professionalMycroft Holmes20-May-14 13:02 
QuestionTwo questions about the TreeView control Pin
Mc_Topaz16-May-14 1:45
Mc_Topaz16-May-14 1:45 
AnswerRe: Two questions about the TreeView control Pin
SledgeHammer0116-May-14 6:45
SledgeHammer0116-May-14 6:45 
QuestionRe: Two questions about the TreeView control Pin
Mc_Topaz16-May-14 7:40
Mc_Topaz16-May-14 7:40 
AnswerRe: Two questions about the TreeView control Pin
SledgeHammer0116-May-14 8:16
SledgeHammer0116-May-14 8:16 
GeneralRe: Two questions about the TreeView control Pin
Mc_Topaz16-May-14 9:08
Mc_Topaz16-May-14 9:08 
QuestionOCR using Microsoft Office Document Imaging 12.0 Type Library in WPF application Pin
Member 785476914-May-14 20:20
Member 785476914-May-14 20:20 
AnswerRe: OCR using Microsoft Office Document Imaging 12.0 Type Library in WPF application Pin
AlphaDeltaTheta15-May-14 16:48
AlphaDeltaTheta15-May-14 16:48 
QuestionSilverlight: Exception with ListBox and nested collection Pin
tongo7612-May-14 23:01
tongo7612-May-14 23:01 
AnswerRe: Silverlight: Exception with ListBox and nested collection Pin
Mycroft Holmes13-May-14 12:56
professionalMycroft Holmes13-May-14 12:56 
QuestionWPF Generate Dynamic Messages Including Links Pin
Kevin Marois6-May-14 16:44
professionalKevin Marois6-May-14 16:44 

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.