Search Results

Search found 2 results on 1 pages for 'jama64'.

Page 1/1 | 1 

  • How to change TreeViewItem property from an element in its Header?

    - by Jama64
    I have a treeviewitem where the header property contains other elements such as TextBlock. I want if the TextBlock Text = "Empty", the TreeViewItem not to be focasable. Here I set the TextBox Focasable property but the containing TreeViewItem is focasable. I want the TreeViewItem containing the TextBlock with the Text="Empty" not to be focasable. Thanks Here is my attempt. <Grid> <TreeView> <TreeViewItem> <TreeViewItem.Header> <TextBlock Text="John"> <TextBlock.Style> <Style TargetType="{x:Type TextBlock}"> <Style.Triggers> <Trigger Property="Text" Value="Empty"> <Setter Property="Background" Value="Red" /> <Setter Property="Focusable" Value="False"></Setter> </Trigger> </Style.Triggers> </Style> </TextBlock.Style> </TextBlock> </TreeViewItem.Header> </TreeViewItem> <TreeViewItem> <TreeViewItem.Header> <TextBlock Text="Empty"> <TextBlock.Style> <Style TargetType="{x:Type TextBlock}"> <Style.Triggers> <Trigger Property="Text" Value="Empty"> <Setter Property="Background" Value="Red" /> <Setter Property="Focusable" Value="False"></Setter> </Trigger> </Style.Triggers> </Style> </TextBlock.Style> </TextBlock> </TreeViewItem.Header> </TreeViewItem> </TreeView> </Grid>

    Read the article

  • How to implement WSDL provided by business partner?

    - by jama64
    I have been provided to a wsdl file by another business to build webservice so that the other business can connect to service I build using the provided wsdl and xsd files. I am dot net developer using wcf. I want to know where to start having the wsdl and xsd files in hand. Thanks

    Read the article

1