Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
public class RegionManager : IRegionManager
{
public static readonly DependencyProperty RegionNameProperty = DependencyProperty.RegisterAttached(
"RegionName",
typeof(string),
typeof(RegionManager),
new PropertyMetadata(OnSetRegionNameCallback));
public static void SetRegionName(DependencyObject regionTarget, string regionName)
{
regionTarget.SetValue(RegionNameProperty, regionName);
}
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment