Quantcast
Channel: WPF
Viewing all articles
Browse latest Browse all 2

WPF

$
0
0

burada local i eklediğim yer;

<Window x:Class="CCTrackingProgram.wpfbelgesorgula"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:Local="clr-namespace:CCTrackingProgram"

ve;

<TreeView.Resources><HierarchicalDataTemplate DataType="{x:Type Local:??}"
                                                  ItemsSource="{Binding Members}"><StackPanel Orientation="Horizontal"><Image Source="/Resim/ayenile.png" Margin="0,0,5,0" /><TextBlock Text="{Binding dTitle}" /><TextBlock Text=" [" Foreground="Blue" /><TextBlock Text="{Binding Members.Count}" Foreground="Blue" /><TextBlock Text="]" Foreground="Blue" /></StackPanel></HierarchicalDataTemplate><DataTemplate DataType="{x:Type Local:??}"><StackPanel Orientation="Horizontal"><Image Source="/Resim/ayenile.png" Margin="0,0,5,0" /><TextBlock Text="{Binding dFolderName}" /><TextBlock Text=" (" Foreground="Green" /><TextBlock Text="{Binding dID}" Foreground="Green" /><TextBlock Text=" id)" Foreground="Green" /></StackPanel></DataTemplate></TreeView.Resources></TreeView>

koyu yaptığım yerlere aşağıdaki sınıfları getirmem gerekli fakat olmadı;

   public class BelgeTreeView
    {
       public BelgeTreeView()
        {
            this.Members = new ObservableCollection<BelgeTreeViewMember>();
        }
       public string dTitle { get; set;}//Seçilen Ada/Parsel değerleri alacağım değişkenim
       public ObservableCollection<BelgeTreeViewMember> Members { get; set;}
    }
    public class BelgeTreeViewMember
    {
        public Int64 dID { get;set;}//ID değerlerini alacağım yer
        public string dFolderName { get; set;}//Dosya isimlerini alacağım yer
    }

aslında böyle olması gerekirken yapamadım;



Viewing all articles
Browse latest Browse all 2

Latest Images

Pangarap Quotes

Pangarap Quotes

Vimeo 10.7.0 by Vimeo.com, Inc.

Vimeo 10.7.0 by Vimeo.com, Inc.

HANGAD

HANGAD

MAKAKAALAM

MAKAKAALAM

Doodle Jump 3.11.30 by Lima Sky LLC

Doodle Jump 3.11.30 by Lima Sky LLC

Trending Articles


Ang Nobela sa “From Darna to ZsaZsa Zaturnnah: Desire and Fantasy, Essays on...


Lola Bunny para colorear


Libros para colorear


Mandalas de flores para colorear


Dibujos para colorear de perros


Dromedario para colorear


mayabang Quotes, Torpe Quotes, tanga Quotes


Love Quotes Tagalog


Tropa Quotes


Mga Tala sa “Unang Siglo ng Nobela sa Filipinas” (2009) ni Virgilio S. Almario


Gwapo Quotes : Babaero Quotes


Kung Fu Panda para colorear


Girasoles para colorear


Tiburon para colorear


Renos para colorear


Lagarto para colorear


Long Distance Relationship Tagalog Love Quotes


Tagalog Long Distance Relationship Love Quotes


RE: Mutton Pies (mely)


El Vibora (1971) by Francisco V. Coching and Federico C. Javinal





Latest Images

Pangarap Quotes

Pangarap Quotes

Vimeo 10.7.0 by Vimeo.com, Inc.

Vimeo 10.7.0 by Vimeo.com, Inc.

HANGAD

HANGAD

MAKAKAALAM

MAKAKAALAM

Doodle Jump 3.11.30 by Lima Sky LLC

Doodle Jump 3.11.30 by Lima Sky LLC