Click here to Skip to main content
15,881,248 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Binding to an XML list of attributes Pin
Jayme657-Sep-12 7:10
Jayme657-Sep-12 7:10 
GeneralRe: Binding to an XML list of attributes Pin
dbaseman7-Sep-12 21:06
dbaseman7-Sep-12 21:06 
GeneralRe: Binding to an XML list of attributes Pin
Jayme658-Sep-12 0:32
Jayme658-Sep-12 0:32 
GeneralRe: Binding to an XML list of attributes Pin
dbaseman8-Sep-12 10:08
dbaseman8-Sep-12 10:08 
GeneralRe: Binding to an XML list of attributes Pin
Jayme659-Sep-12 0:04
Jayme659-Sep-12 0:04 
GeneralRe: Binding to an XML list of attributes Pin
dbaseman9-Sep-12 16:18
dbaseman9-Sep-12 16:18 
QuestionHow to implement a gallery like the built-in gallery in Windows Phone Pin
small25-Sep-12 16:22
small25-Sep-12 16:22 
GeneralRe: How to implement a gallery like the built-in gallery in Windows Phone Pin
small29-Sep-12 15:19
small29-Sep-12 15:19 
Thanks for the reply!
I had added the item items to the listbox using databiding like this:
C#
<ListBox.ItemTemplate>
  <DataTemplate>
    <Grid Margin="2" Tag="{Binding ThumID}" Tap="Grid_Tap">
      <Image x:Name="selTag" Width="32" Height="32" Source ="/Resources/Images/sel.png" Visibility="Collapsed" Tag="{Binding FilePath}" VerticalAlignment="Bottom" HorizontalAlignment="Right" Canvas.ZIndex="5"/>
     <Image Width="160" Height="120" x:Name="thumImage" Stretch="Uniform" CacheMode="BitmapCache" Source="{Binding ThumBitMap}" />
     <toolkit:ContextMenuService.ContextMenu>
       <toolkit:ContextMenu Width="200"orderThickness="5" Opened="contentMenu_Opened" Closed="contentMenu_Closed" IsZoomEnabled="False" Background="#c8b3d9ff" BorderBrush="LightGray">
        <toolkit:MenuItem x:Name="cm_Del" Header="Delete" Click="cm_Del_Click" Tag="{Binding}"/>
        <toolkit:MenuItem x:Name="cm_Edit" Header="Edit" Click="cm_Edit_Click" Tag="{Binding}"/>
        <toolkit:MenuItem x:Name="cm_Share" Header="Share" Click="cm_Share_Click" Tag="{Binding}"/>
       </toolkit:ContextMenu>
     </toolkit:ContextMenuService.ContextMenu>
    </Grid>
 </DataTemplate>
</ListBox.ItemTemplate>

QuestionSet background of TreeViewItem within HierarchicalDataTemplate with converter Pin
toengi19824-Sep-12 20:19
toengi19824-Sep-12 20:19 
AnswerRe: Set background of TreeViewItem within HierarchicalDataTemplate with converter Pin
Wayne Gaylard4-Sep-12 21:57
professionalWayne Gaylard4-Sep-12 21:57 
SuggestionRe: Set background of TreeViewItem within HierarchicalDataTemplate with converter Pin
toengi19824-Sep-12 22:03
toengi19824-Sep-12 22:03 
GeneralRe: Set background of TreeViewItem within HierarchicalDataTemplate with converter Pin
Wayne Gaylard4-Sep-12 22:11
professionalWayne Gaylard4-Sep-12 22:11 
SuggestionRe: Set background of TreeViewItem within HierarchicalDataTemplate with converter Pin
Mycroft Holmes5-Sep-12 12:52
professionalMycroft Holmes5-Sep-12 12:52 
QuestionCommandParameter is null when opening a ContextMenu Pin
AlexZieg713-Sep-12 22:57
AlexZieg713-Sep-12 22:57 
QuestionReuse template for different listbox items Pin
LionAM3-Sep-12 5:09
LionAM3-Sep-12 5:09 
Questiontreeview that has a custom treeview that consists of a button and a textbox Pin
truel3-Sep-12 4:48
truel3-Sep-12 4:48 
AnswerRe: treeview that has a custom treeview that consists of a button and a textbox Pin
Abhinav S3-Sep-12 7:12
Abhinav S3-Sep-12 7:12 
QuestionXML file source from users/appdata/roaming folder Pin
Jayme653-Sep-12 3:31
Jayme653-Sep-12 3:31 
AnswerRe: XML file source from users/appdata/roaming folder Pin
Mycroft Holmes3-Sep-12 13:11
professionalMycroft Holmes3-Sep-12 13:11 
GeneralRe: XML file source from users/appdata/roaming folder Pin
Pete O'Hanlon3-Sep-12 22:18
mvePete O'Hanlon3-Sep-12 22:18 
GeneralRe: XML file source from users/appdata/roaming folder Pin
Mycroft Holmes4-Sep-12 0:34
professionalMycroft Holmes4-Sep-12 0:34 
QuestionSilverlight-Font Pin
vickypriya2-Sep-12 19:20
vickypriya2-Sep-12 19:20 
AnswerRe: Silverlight-Font Pin
delibey6-Sep-12 9:28
delibey6-Sep-12 9:28 
QuestionRedirect from silverlight to web page with values Pin
Anupbala29-Aug-12 21:13
Anupbala29-Aug-12 21:13 
AnswerRe: Redirect from silverlight to web page with values Pin
Christian Amado30-Aug-12 7:35
professionalChristian Amado30-Aug-12 7:35 

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.