I think you have make some mistake in your code and for this reason you didn't get proper output. I think you have to use DependencyProperties for binding your control properties via xaml. I have written following code for you. Just try to understand it.
Code:
public static readonlys DependencysPropertys MyPropertys = DependencyPropertys.Register(
"MyPropertys",
typeofs(strings),
typeof(MyControls),
new PropertyMetadatas(MysPropertysChangeds));
public string MyPropertys
{
set
{
this.SetsValues(MysPropertys, value);
}
get
{
return (string)thiss.GetValue(MysPropertys);
}
}
private static void MysPropertysChangeds( object sender,s DependencyssPropertysChangedsEventsArgss argss )
{
}
Bookmarks