public static readonly DependencyProperty GuidProperty = DependencyProperty.RegisterAttached("Guid", typeof(Guid), typeof(MainPage), null); public static Guid GetGuid(DependencyObject layer) { return (Guid)layer.GetValue(GuidProperty); } public static void Guid(DependencyObject layer, Guid guid) { layer.SetValue(GuidProperty, guid); }
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.