Coffeehouse Post

Single Post Permalink

View Thread: it looks like the WPF team still exists, after all
  • User profile image
    SteveRichter

    , Maddus Mattus wrote

    @SteveRichter:Learn to use and manipulate the ItemsControl, it's the shizzl of WPF

    you mean something like this?  ( from StackOverflow)   I appreciate the power of WPF, but I feel I have to emerse myself in it for weeks at a time to be able to use it.  The HTML/CSS version of the bulleted list is a lot easier to use.

        <ItemsControl Name="lstScripts">              <ItemsControl.ItemTemplate> 
                   
    <DataTemplate> 
                       
    <BulletDecoratorWidth="Auto"> 
                           
    <BulletDecorator.Bullet> 
                               
    <EllipseFill="White"Stroke="Black"StrokeThickness="1"Width="8"Height="8"/> 
                           
    </BulletDecorator.Bullet> 
                           
    <TextBlock> 
                               
    <Hyperlink> 
                                   
    <TextBlockText="{Binding Path=Name}"/> 
                               
    </Hyperlink> 
                           
    </TextBlock> 
                       
    </BulletDecorator> 
                   
    </DataTemplate> 
               
    </ItemsControl.ItemTemplate> 
           
    </ItemsControl>