hello guys~
in my project, i need to use kind of custom property grid.
it's for select pictures.
i got some properties like 'picture1', 'pictrue2'......
and each property has file url
and to fill the property i need to pop a window like radwindow to select file - i'll get these files from web service or something.
so i make datatemplete and added it to propertygrid.
click that button opens window to select picture. and than it changes Property.
the problem is i couldn't find the textBox of that datatemplate to fill that with selected file url.
please let me know guys.
thanks for reading this.
and merry christmas~~~ ^0^
in my project, i need to use kind of custom property grid.
it's for select pictures.
i got some properties like 'picture1', 'pictrue2'......
and each property has file url
and to fill the property i need to pop a window like radwindow to select file - i'll get these files from web service or something.
<!-- property grid custum definition edit templete -->
<
DataTemplate
x:Key
=
"propPicture1"
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
TextBox
x:Name
=
"propPicutre1"
IsReadOnly
=
"True"
/>
<
Button
Tag
=
"Picture1"
Click
=
"propPicture_Click"
Content
=
"Click"
></
Button
>
</
StackPanel
>
</
DataTemplate
>
so i make datatemplete and added it to propertygrid.
click that button opens window to select picture. and than it changes Property.
the problem is i couldn't find the textBox of that datatemplate to fill that with selected file url.
please let me know guys.
thanks for reading this.
and merry christmas~~~ ^0^