[NUI] Fix build warning CA1507
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / XamlBinding / ElementEventArgs.cs
1 using System;
2 using System.ComponentModel;
3
4 namespace Tizen.NUI.Binding
5 {
6     /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
7     [EditorBrowsable(EditorBrowsableState.Never)]
8     public class ElementEventArgs : EventArgs
9     {
10         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
11         [EditorBrowsable(EditorBrowsableState.Never)]
12         public ElementEventArgs(Element element)
13         {
14             if (element == null)
15                 throw new ArgumentNullException(nameof(element));
16
17             Element = element;
18         }
19
20         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
21         [EditorBrowsable(EditorBrowsableState.Never)]
22         public Element Element { get; private set; }
23     }
24 }