diff options
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Native/LayoutEventArgs.cs')
-rw-r--r-- | Xamarin.Forms.Platform.Tizen/Native/LayoutEventArgs.cs | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Native/LayoutEventArgs.cs b/Xamarin.Forms.Platform.Tizen/Native/LayoutEventArgs.cs new file mode 100644 index 00000000..6668f8d7 --- /dev/null +++ b/Xamarin.Forms.Platform.Tizen/Native/LayoutEventArgs.cs @@ -0,0 +1,55 @@ +using System; + +namespace Xamarin.Forms.Platform.Tizen.Native +{ + /// <summary> + /// Holds information about size of the area which can be used for layout. + /// </summary> + public class LayoutEventArgs : EventArgs + { + /// <summary> + /// Whether or not the dimensions have changed. + /// </summary> + public bool HasChanged + { + get; + internal set; + } + + /// <summary> + /// X coordinate of the layout area, relative to the main window. + /// </summary> + public int X + { + get; + internal set; + } + + /// <summary> + /// Y coordinate of the layout area, relative to the main window. + /// </summary> + public int Y + { + get; + internal set; + } + + /// <summary> + /// Width of the layout area. + /// </summary> + public int Width + { + get; + internal set; + } + + /// <summary> + /// Height of the layout area. + /// </summary> + public int Height + { + get; + internal set; + } + } +} |