Created
May 24, 2017 12:09
-
-
Save atzimler/4d54b4705b8a61435651e76e8a02c17f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static readonly DependencyProperty SideProperty = DependencyProperty.RegisterAttached(nameof(Side), typeof(Side), typeof(LeftRightLayoutControl), new PropertyMetadata(Side.None, UpdateSide)); | |
| public static Side GetSide(UIElement target) | |
| { | |
| return (Side)target.GetValue(SideProperty); | |
| } | |
| public static void SetSide(UIElement target, Side value) | |
| { | |
| target.SetValue(SideProperty, value); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment