Click here to Skip to main content
15,913,854 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: How to make Single instance application to run Pin
Pete O'Hanlon4-Jul-10 21:49
mvePete O'Hanlon4-Jul-10 21:49 
QuestionWPF App - different page than StartupUri getting called... Pin
Phil Boyd30-Jun-10 10:34
Phil Boyd30-Jun-10 10:34 
AnswerRe: WPF App - different page than StartupUri getting called... Pin
Pete O'Hanlon30-Jun-10 10:46
mvePete O'Hanlon30-Jun-10 10:46 
AnswerRe: WPF App - different page than StartupUri getting called... Pin
BechBej5-Jul-10 9:45
BechBej5-Jul-10 9:45 
QuestionProblem with Binding to XML in WPF. [Resolved] Pin
Henry Minute30-Jun-10 9:34
Henry Minute30-Jun-10 9:34 
AnswerRe: Problem with Binding to XML in WPF. Pin
Pete O'Hanlon30-Jun-10 10:44
mvePete O'Hanlon30-Jun-10 10:44 
GeneralRe: Problem with Binding to XML in WPF. Pin
Henry Minute30-Jun-10 11:31
Henry Minute30-Jun-10 11:31 
GeneralRe: Problem with Binding to XML in WPF. Pin
Pete O'Hanlon30-Jun-10 11:45
mvePete O'Hanlon30-Jun-10 11:45 
I ran your sample with the following code and it works with this:
<Window x:Class="WpfXmlSample.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">
  <StackPanel>
    <StackPanel.Resources>
      <XmlDataProvider x:Key="MoreColours" XPath="/MyColours" Source="Colours.xml" />
    </StackPanel.Resources>
    <TextBlock Width="248" Height="24" Margin="0, 5, 0, 0" Text="Colours:" TextWrapping="Wrap"/>
    <ListBox x:Name="lboxMyColour" Width="248" Height="80" Margin="0,0,0,3"
         ItemsSource="{Binding Source={StaticResource MoreColours}, XPath=MyColour}">
      <ListBox.ItemTemplate>
        <DataTemplate>
          <StackPanel>
            <TextBlock Text="{Binding Mode=OneTime, XPath=@name}" />
          </StackPanel>
        </DataTemplate>
      </ListBox.ItemTemplate>
    </ListBox>

  </StackPanel>

</Window>

"WPF has many lovers. It's a veritable porn star!" - Josh Smith

As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.


My blog | My articles | MoXAML PowerToys | Onyx



GeneralRe: Problem with Binding to XML in WPF. Pin
Henry Minute30-Jun-10 13:00
Henry Minute30-Jun-10 13:00 
GeneralRe: Problem with Binding to XML in WPF. Pin
Pete O'Hanlon30-Jun-10 21:47
mvePete O'Hanlon30-Jun-10 21:47 
GeneralRe: Problem with Binding to XML in WPF. Pin
Pete O'Hanlon1-Jul-10 11:58
mvePete O'Hanlon1-Jul-10 11:58 
GeneralRe: Problem with Binding to XML in WPF. Pin
Henry Minute1-Jul-10 12:12
Henry Minute1-Jul-10 12:12 
GeneralRe: Problem with Binding to XML in WPF. Pin
Pete O'Hanlon1-Jul-10 12:13
mvePete O'Hanlon1-Jul-10 12:13 
QuestionHow to install silverlight Pin
yogesh_kumar_agarwal29-Jun-10 19:39
yogesh_kumar_agarwal29-Jun-10 19:39 
AnswerRe: How to install silverlight Pin
Abhinav S29-Jun-10 20:13
Abhinav S29-Jun-10 20:13 
GeneralRe: How to install silverlight Pin
souidi abderrahman29-Jun-10 21:54
souidi abderrahman29-Jun-10 21:54 
GeneralRe: How to install silverlight Pin
Abhinav S1-Jul-10 20:12
Abhinav S1-Jul-10 20:12 
GeneralRe: How to install silverlight Pin
souidi abderrahman1-Jul-10 20:53
souidi abderrahman1-Jul-10 20:53 
AnswerRe: How to install silverlight Pin
Kunal Chowdhury «IN»30-Jun-10 1:03
professionalKunal Chowdhury «IN»30-Jun-10 1:03 
AnswerRe:How to install silverlight Pin
Ch.Gayatri Subudhi1-Jul-10 18:19
Ch.Gayatri Subudhi1-Jul-10 18:19 
QuestionApply two animations to a text block simultanously Pin
WBurgMo29-Jun-10 16:00
WBurgMo29-Jun-10 16:00 
AnswerRe: Apply two animations to a text block simultanously Pin
Insincere Dave1-Jul-10 9:10
Insincere Dave1-Jul-10 9:10 
GeneralRe: Apply two animations to a text block simultanously Pin
WBurgMo1-Jul-10 10:35
WBurgMo1-Jul-10 10:35 
QuestionDetecting the CellText,Selected length, Cursor position on edit mode in WPF datagrid. Pin
kartheesh29-Jun-10 4:19
kartheesh29-Jun-10 4:19 
AnswerRe: Detecting the CellText,Selected length, Cursor position on edit mode in WPF datagrid. Pin
Abhinav S29-Jun-10 20:30
Abhinav S29-Jun-10 20:30 

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.