c#


Pass values from one to another page


How we can pass the values from a child window to the parent window in silverlight 3 by using Properties (ie Databinding).
In my work, it includes a parent window and a child window. The child window contains a text box, which returns a value after the hitting OK button it to Parent window. I already did this by using message sending and receiving events. But now i wish to change that to using properties.
Parent Window:
ChildWindow myWin = new MyWindow("Test", "Test of shared ui elemnts");
myWin.Show();
myWin.Closed += new EventHandler(myWin_Closed);
void errorWin_Closed(object sender, EventArgs e)
{
ErrorWindow wrr = (ErrorWindow)sender;
string mytext = wrr.MyText; // Can access any property that was set ChildWindow
}

Related Links

defining characters to ignore while matching strings C# [closed]
How do I get the network interface and its right IPv4 address?
How can I delete a directory in a Zip file using .NET?
receiving string from c# to Java mistakes
No endpoint listening wcf/rest
How to add NT AUTHORITY\IUSR to Administrators group
Combobox in Syncfusion XlsIO
Creating a Strong Name dynamically, without Sn.exe
Why is my locally declared variable not being recognized in the finally block?
Comparing two different types with Entity Framework
loginview shows “welcome system-name/administrator” and logout for the first time page load
How to abort another thread in .NET, when said thread is executing Console.ReadLine?
OrderBy / ThenBy looping - nested Lists in C#
How to login external web site from asp.net web page? [closed]
ListPicker for WPF?
How to notify user of new message?

Categories

HOME
asterisk
reactjs
actionscript-3
macros
netty
sip
opencv4android
livecharts
hex
assign
psexec
servicenow
install
soap-client
angularjs-ng-repeat
spring-data-solr
core-data
velocity
chef-recipe
oxid
watson-dialog
camunda
opendaylight
minimum
appsettings
wallet
md2
civicrm
beacon
ampscript
custom-component
javaagents
rollupjs
android-cursorloader
adobe-captivate
restangular
semantic-ui-react
arp
blockly
restler
gitosis
motherboard
rtsp
compiled-query
collation
datagridviewcombobox
apiman
gridgain
qtwebkit
line-endings
history
dcom
standard-error
appcmd
webmatrix
hellosign
selection-sort
jtextarea
sqlproj
stripes
indoor-positioning-system
universe
x12
magick.net
change-password
qtruby
db2-zos
jmap
sqlxml
matlab-engine
app-data
kramdown
wiql
jcomponent
mojolicious
autoscaling
pdcurses
stereotype
photogrammetry
glog
stderr
ultraedit
jad
shunting-yard
quickfixn
disparity-mapping
banana-pi
dayofweek
carrier
scidb
aspnet-compiler
infinity.js
symbian3
windows-scheduler
gwt2
urlfetch
feincms
motordriver
shapado
systrace
reflexil
apache-commons-email
rjs
peoplepicker
overlays
object-tag
appointment
data-formats
time-management
html-help-workshop
expander
weak-typing

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App