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

BotConnector dynamic field not working: even when a user clicks on one of the buttons in the prompt, the Bot fails to recognize the response
WCF Collection returns empty
Extending interface with new model
How to programmatically get Azure Service Bus Relay details (C#)?
The type or namespace name 'ThreadPoolTimer' could not be found
Join IQueryable with List on object from list
Exporting gridview with paging
Is it possible to pin a text on the top of the console c# [duplicate]
How to read simultaneously by several COM ports
How to delete rows with same value in datagridview
How to passing value to textbox in second form when object has been lunched
Make my datepicker required and remove it after selecting a date in c#
Microsoft Graph. DriveItem Id format?
DateTime parsing - unexpected result
Measuring mb sent per second with C# sockets? (Multithread)
C# inheritance multiple for different children

Categories

HOME
internet-explorer
algolia
redux
cluster-analysis
snappy
android-ndk
app-store
vsixmanifest
restheart
google-search-appliance
websharper
fastreport
yui
novacode-docx
printf
aws-devicefarm
single-page-application
keystone
hololens
infinite-loop
angular-schema-form
wercker
node-soap
flickr
offset
dropdownbox
mootools
tunnel
ponylang
scip
linkurious
socketcluster
php-mongodb
test-kitchen
servicebus
html-entities
niagara-ax
angular-fullstack
synchronized
spring-ide
runner
rivets.js
hdpi
appcmd
fluent-nhibernate-mapping
aot
androiddesignsupport
totalview
cardview
recursive-query
git-push
deck.js
particle-system
recurring
sprockets
shtml
aws-kms
archiva
radar-chart
cexception
hana-sql-script
jsondoc
fadein
google-app-engine-php
skscene
commercetools
serial-communication
updating
openhab
hexagonal-tiles
borland-c++
fileinputstream
dojox.grid
jsonschema2pojo
zoneminder
redmine-plugins
ccmenuitem
parallel-port
new-operator
fastcgi-mono-server
.net-reflector
mandelbrot
configurationsection
netzke
systrace
hs-err
cross-cutting-concerns

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