2 * Copyright(c) 2017 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 using System.ComponentModel;
22 using System.Runtime.InteropServices;
23 using Tizen.NUI.BaseComponents;
26 /// The WidgetView is a class for displaying the widget image and controlling the widget.<br />
27 /// Input events that the WidgetView gets are delivered to the widget.
29 /// <since_tizen> 3 </since_tizen>
30 public class WidgetView : View
32 private EventHandler<WidgetViewEventArgs> _widgetAddedEventHandler;
33 private WidgetAddedEventCallbackType _widgetAddedEventCallback;
34 private EventHandler<WidgetViewEventArgs> _widgetContentUpdatedEventHandler;
35 private WidgetContentUpdatedEventCallbackType _widgetContentUpdatedEventCallback;
36 private EventHandler<WidgetViewEventArgs> _widgetDeletedEventHandler;
37 private WidgetDeletedEventCallbackType _widgetDeletedEventCallback;
38 private EventHandler<WidgetViewEventArgs> _widgetCreationAbortedEventHandler;
39 private WidgetCreationAbortedEventCallbackType _widgetCreationAbortedEventCallback;
40 private EventHandler<WidgetViewEventArgs> _widgetUpdatePeriodChangedEventHandler;
41 private WidgetUpdatePeriodChangedEventCallbackType _widgetUpdatePeriodChangedEventCallback;
42 private EventHandler<WidgetViewEventArgs> _widgetFaultedEventHandler;
43 private WidgetFaultedEventCallbackType _widgetFaultedEventCallback;
45 /// Creates a new WidgetView.
47 /// <since_tizen> 3 </since_tizen>
48 public WidgetView(string widgetId, string contentInfo, int width, int height, float updatePeriod) : this(Interop.WidgetView.New(widgetId, contentInfo, width, height, updatePeriod), true)
50 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
54 internal WidgetView(global::System.IntPtr cPtr, bool cMemoryOwn) : base(Interop.WidgetView.Upcast(cPtr), cMemoryOwn)
57 internal WidgetView(WidgetView handle) : this(Interop.WidgetView.NewWidgetView(WidgetView.getCPtr(handle)), true)
59 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
62 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
63 private delegate void WidgetAddedEventCallbackType(IntPtr data);
64 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
65 private delegate void WidgetContentUpdatedEventCallbackType(IntPtr data);
66 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
67 private delegate void WidgetDeletedEventCallbackType(IntPtr data);
68 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
69 private delegate void WidgetCreationAbortedEventCallbackType(IntPtr data);
70 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
71 private delegate void WidgetUpdatePeriodChangedEventCallbackType(IntPtr data);
72 [UnmanagedFunctionPointer(CallingConvention.StdCall)]
73 private delegate void WidgetFaultedEventCallbackType(IntPtr data);
76 /// An event for the ResourceReady signal which can be used to subscribe or unsubscribe the event handler.<br />
77 /// This signal is emitted after all resources required by a control are loaded and ready.<br />
78 /// Most resources are only loaded when the control is placed on the stage.<br />
80 /// <since_tizen> 3 </since_tizen>
81 public event EventHandler<WidgetViewEventArgs> WidgetAdded
85 if (_widgetAddedEventHandler == null)
87 _widgetAddedEventCallback = OnWidgetAdded;
88 WidgetViewSignal widgetAdded = WidgetAddedSignal();
89 widgetAdded?.Connect(_widgetAddedEventCallback);
90 widgetAdded?.Dispose();
93 _widgetAddedEventHandler += value;
98 _widgetAddedEventHandler -= value;
100 WidgetViewSignal widgetAdded = WidgetAddedSignal();
101 if (_widgetAddedEventHandler == null && widgetAdded?.Empty() == false)
103 widgetAdded?.Disconnect(_widgetAddedEventCallback);
105 widgetAdded?.Dispose();
110 /// An event for the ResourceReady signal which can be used to subscribe or unsubscribe the event handler.<br />
111 /// This signal is emitted after all resources required by a control are loaded and ready.<br />
112 /// Most resources are only loaded when the control is placed on the stage.<br />
114 /// <since_tizen> 3 </since_tizen>
115 public event EventHandler<WidgetViewEventArgs> WidgetContentUpdated
119 if (_widgetContentUpdatedEventHandler == null)
121 _widgetContentUpdatedEventCallback = OnWidgetContentUpdated;
122 WidgetViewSignal widgetContentUpdated = WidgetContentUpdatedSignal();
123 widgetContentUpdated?.Connect(_widgetContentUpdatedEventCallback);
124 widgetContentUpdated?.Dispose();
127 _widgetContentUpdatedEventHandler += value;
132 _widgetContentUpdatedEventHandler -= value;
134 WidgetViewSignal widgetContentUpdated = WidgetContentUpdatedSignal();
135 if (_widgetContentUpdatedEventHandler == null && widgetContentUpdated?.Empty() == false)
137 widgetContentUpdated?.Disconnect(_widgetContentUpdatedEventCallback);
139 widgetContentUpdated?.Dispose();
144 /// An event for the ResourceReady signal which can be used to subscribe or unsubscribe the event handler.<br />
145 /// This signal is emitted after all resources required by a control are loaded and ready.<br />
146 /// Most resources are only loaded when the control is placed on the stage.<br />
148 /// <since_tizen> 3 </since_tizen>
149 public event EventHandler<WidgetViewEventArgs> WidgetDeleted
153 if (_widgetDeletedEventHandler == null)
155 _widgetDeletedEventCallback = OnWidgetDeleted;
156 WidgetViewSignal widgetDeleted = WidgetDeletedSignal();
157 widgetDeleted?.Connect(_widgetDeletedEventCallback);
158 widgetDeleted?.Dispose();
161 _widgetDeletedEventHandler += value;
166 _widgetDeletedEventHandler -= value;
168 WidgetViewSignal widgetDeleted = WidgetDeletedSignal();
169 if (_widgetDeletedEventHandler == null && widgetDeleted?.Empty() == false)
171 widgetDeleted?.Disconnect(_widgetDeletedEventCallback);
173 widgetDeleted?.Dispose();
178 /// An event for the ResourceReady signal which can be used to subscribe or unsubscribe the event handler.<br />
179 /// This signal is emitted after all resources required by a control are loaded and ready.<br />
180 /// Most resources are only loaded when the control is placed on the stage.<br />
182 /// <since_tizen> 3 </since_tizen>
183 public event EventHandler<WidgetViewEventArgs> WidgetCreationAborted
187 if (_widgetCreationAbortedEventHandler == null)
189 _widgetCreationAbortedEventCallback = OnWidgetCreationAborted;
190 WidgetViewSignal widgetCreationAborted = WidgetCreationAbortedSignal();
191 widgetCreationAborted?.Connect(_widgetCreationAbortedEventCallback);
192 widgetCreationAborted?.Dispose();
195 _widgetCreationAbortedEventHandler += value;
200 _widgetCreationAbortedEventHandler -= value;
202 WidgetViewSignal widgetCreationAborted = WidgetCreationAbortedSignal();
203 if (_widgetCreationAbortedEventHandler == null && widgetCreationAborted?.Empty() == false)
205 widgetCreationAborted?.Disconnect(_widgetCreationAbortedEventCallback);
207 widgetCreationAborted?.Dispose();
212 /// An event for the ResourceReady signal which can be used to subscribe or unsubscribe the event handler.<br />
213 /// This signal is emitted after all resources required by a control are loaded and ready.<br />
214 /// Most resources are only loaded when the control is placed on the stage.<br />
216 /// <since_tizen> 3 </since_tizen>
217 public event EventHandler<WidgetViewEventArgs> WidgetUpdatePeriodChanged
221 if (_widgetUpdatePeriodChangedEventHandler == null)
223 _widgetUpdatePeriodChangedEventCallback = OnWidgetUpdatePeriodChanged;
224 WidgetViewSignal widgetUpdatePeriodChanged = WidgetUpdatePeriodChangedSignal();
225 widgetUpdatePeriodChanged?.Connect(_widgetUpdatePeriodChangedEventCallback);
226 widgetUpdatePeriodChanged?.Dispose();
229 _widgetUpdatePeriodChangedEventHandler += value;
234 _widgetUpdatePeriodChangedEventHandler -= value;
236 WidgetViewSignal widgetUpdatePeriodChanged = WidgetUpdatePeriodChangedSignal();
237 if (_widgetUpdatePeriodChangedEventHandler == null && widgetUpdatePeriodChanged?.Empty() == false)
239 widgetUpdatePeriodChanged?.Disconnect(_widgetUpdatePeriodChangedEventCallback);
241 widgetUpdatePeriodChanged?.Dispose();
246 /// An event for the ResourceReady signal which can be used to subscribe or unsubscribe the event handler.<br />
247 /// This signal is emitted after all resources required by a control are loaded and ready.<br />
248 /// Most resources are only loaded when the control is placed on the stage.<br />
250 /// <since_tizen> 3 </since_tizen>
251 public event EventHandler<WidgetViewEventArgs> WidgetFaulted
255 if (_widgetFaultedEventHandler == null)
257 _widgetFaultedEventCallback = OnWidgetFaulted;
258 WidgetViewSignal widgetFaulted = WidgetFaultedSignal();
259 widgetFaulted?.Connect(_widgetFaultedEventCallback);
260 widgetFaulted?.Dispose();
263 _widgetFaultedEventHandler += value;
268 _widgetFaultedEventHandler -= value;
270 WidgetViewSignal widgetFaulted = WidgetFaultedSignal();
271 if (_widgetFaultedEventHandler == null && widgetFaulted?.Empty() == false)
273 widgetFaulted?.Disconnect(_widgetFaultedEventCallback);
275 widgetFaulted?.Dispose();
280 /// Gets the ID of the widget.
282 /// <since_tizen> 3 </since_tizen>
283 public string WidgetID
287 string retValue = "";
288 PropertyValue widgetId = GetProperty(WidgetView.Property.WidgetId);
289 widgetId?.Get(out retValue);
296 /// Gets the ID of the instance.
298 /// <since_tizen> 3 </since_tizen>
299 public string InstanceID
303 string retValue = "";
304 PropertyValue instanceId = GetProperty(WidgetView.Property.InstanceId);
305 instanceId?.Get(out retValue);
306 instanceId?.Dispose();
312 /// Gets the content info.
314 /// <since_tizen> 3 </since_tizen>
315 public string ContentInfo
319 string retValue = "";
320 PropertyValue contentInfo = GetProperty(WidgetView.Property.ContentInfo);
321 contentInfo?.Get(out retValue);
322 contentInfo?.Dispose();
330 /// <since_tizen> 3 </since_tizen>
335 string retValue = "";
336 PropertyValue title = GetProperty(WidgetView.Property.TITLE);
337 title?.Get(out retValue);
344 /// Gets the update peroid.
346 /// <since_tizen> 3 </since_tizen>
347 public float UpdatePeriod
352 PropertyValue updatePeriod = GetProperty(WidgetView.Property.UpdatePeriod);
353 updatePeriod?.Get(out retValue);
354 updatePeriod?.Dispose();
360 /// Gets or sets the preview.
362 /// <since_tizen> 3 </since_tizen>
367 bool retValue = false;
368 PropertyValue preview = GetProperty(WidgetView.Property.PREVIEW);
369 preview?.Get(out retValue);
375 PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
376 SetProperty(WidgetView.Property.PREVIEW, setValue);
382 /// Gets or sets the loading text.
384 /// <since_tizen> 3 </since_tizen>
385 public bool LoadingText
389 bool retValue = false;
390 PropertyValue loadingText = GetProperty(WidgetView.Property.LoadingText);
391 loadingText?.Get(out retValue);
392 loadingText?.Dispose();
397 PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
398 SetProperty(WidgetView.Property.LoadingText, setValue);
404 /// Gets or sets whether the widget state is faulted or not.
406 /// <since_tizen> 3 </since_tizen>
407 public bool WidgetStateFaulted
411 bool retValue = false;
412 PropertyValue widgetStateFaulted = GetProperty(WidgetView.Property.WidgetStateFaulted);
413 widgetStateFaulted?.Get(out retValue);
414 widgetStateFaulted?.Dispose();
419 PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
420 SetProperty(WidgetView.Property.WidgetStateFaulted, setValue);
426 /// Gets or sets whether the widget is to delete permanently or not.
428 /// <since_tizen> 3 </since_tizen>
429 public bool PermanentDelete
433 bool retValue = false;
434 PropertyValue permanentDelete = GetProperty(WidgetView.Property.PermanentDelete);
435 permanentDelete?.Get(out retValue);
436 permanentDelete?.Dispose();
441 PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
442 SetProperty(WidgetView.Property.PermanentDelete, setValue);
448 /// Gets or sets retry text.
450 /// <since_tizen> 4 </since_tizen>
451 public PropertyMap RetryText
455 PropertyMap retValue = new PropertyMap();
456 PropertyValue retryText = GetProperty(WidgetView.Property.RetryText);
457 retryText?.Get(retValue);
458 retryText?.Dispose();
463 PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
464 SetProperty(WidgetView.Property.RetryText, setValue);
470 /// Gets or sets effect.
472 /// <since_tizen> 4 </since_tizen>
473 public PropertyMap Effect
477 PropertyMap retValue = new PropertyMap();
478 PropertyValue effect = GetProperty(WidgetView.Property.EFFECT);
479 effect?.Get(retValue);
485 PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
486 SetProperty(WidgetView.Property.EFFECT, setValue);
492 /// Pauses a given widget.
494 /// <returns>True on success, false otherwise.</returns>
495 /// <since_tizen> 3 </since_tizen>
496 public bool PauseWidget()
498 bool ret = Interop.WidgetView.PauseWidget(SwigCPtr);
499 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
504 /// Resumes a given widget.
506 /// <returns>True on success, false otherwise.</returns>
507 /// <since_tizen> 3 </since_tizen>
508 public bool ResumeWidget()
510 bool ret = Interop.WidgetView.ResumeWidget(SwigCPtr);
511 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
516 /// Cancels the touch event procedure.
517 /// If you call this function after feed the touch down event, the widget will get ON_HOLD events.
518 /// If a widget gets ON_HOLD event, it will not do anything even if you feed touch up event.
520 /// <returns>True on success, false otherwise.</returns>
521 /// <since_tizen> 3 </since_tizen>
522 public bool CancelTouchEvent()
524 bool ret = Interop.WidgetView.CancelTouchEvent(SwigCPtr);
525 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
530 /// Activates a widget in the faulted state.
531 /// A widget in faulted state must be activated before adding the widget.
533 /// <since_tizen> 3 </since_tizen>
534 public void ActivateFaultedWidget()
536 Interop.WidgetView.ActivateFaultedWidget(SwigCPtr);
537 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
541 /// Terminate a widget instance.
543 /// <returns>True on success, false otherwise</returns>
544 /// <since_tizen> 4 </since_tizen>
545 public bool TerminateWidget()
547 bool ret = Interop.WidgetView.TerminateWidget(SwigCPtr);
548 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
552 internal static WidgetView DownCast(BaseHandle handle)
554 WidgetView ret = new WidgetView(Interop.WidgetView.DownCast(BaseHandle.getCPtr(handle)), true);
555 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
559 internal static WidgetView GetWidgetViewFromPtr(global::System.IntPtr cPtr)
561 WidgetView ret = new WidgetView(cPtr, false);
562 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
566 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(WidgetView obj)
568 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.SwigCPtr;
571 internal WidgetView Assign(WidgetView handle)
573 WidgetView ret = new WidgetView(Interop.WidgetView.Assign(SwigCPtr, WidgetView.getCPtr(handle)), false);
574 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
578 internal WidgetViewSignal WidgetAddedSignal()
580 WidgetViewSignal ret = new WidgetViewSignal(Interop.WidgetView.WidgetAddedSignal(SwigCPtr), false);
581 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
585 internal WidgetViewSignal WidgetDeletedSignal()
587 WidgetViewSignal ret = new WidgetViewSignal(Interop.WidgetView.WidgetDeletedSignal(SwigCPtr), false);
588 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
592 internal WidgetViewSignal WidgetCreationAbortedSignal()
594 WidgetViewSignal ret = new WidgetViewSignal(Interop.WidgetView.WidgetCreationAbortedSignal(SwigCPtr), false);
595 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
599 internal WidgetViewSignal WidgetContentUpdatedSignal()
601 WidgetViewSignal ret = new WidgetViewSignal(Interop.WidgetView.WidgetContentUpdatedSignal(SwigCPtr), false);
602 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
606 internal WidgetViewSignal WidgetUpdatePeriodChangedSignal()
608 WidgetViewSignal ret = new WidgetViewSignal(Interop.WidgetView.WidgetUpdatePeriodChangedSignal(SwigCPtr), false);
609 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
613 internal WidgetViewSignal WidgetFaultedSignal()
615 WidgetViewSignal ret = new WidgetViewSignal(Interop.WidgetView.WidgetFaultedSignal(SwigCPtr), false);
616 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
621 /// To make the Button instance be disposed.
623 /// <since_tizen> 3 </since_tizen>
624 protected override void Dispose(DisposeTypes type)
631 //Release your own unmanaged resources here.
632 //You should not access any managed member here except static instance.
633 //because the execution order of Finalizes is non-deterministic.
635 if (_widgetAddedEventCallback != null)
637 WidgetViewSignal widgetAdded = this.WidgetAddedSignal();
638 widgetAdded?.Disconnect(_widgetAddedEventCallback);
639 widgetAdded?.Dispose();
642 if (_widgetContentUpdatedEventCallback != null)
644 WidgetViewSignal widgetContentUpdated = this.WidgetContentUpdatedSignal();
645 widgetContentUpdated?.Disconnect(_widgetContentUpdatedEventCallback);
646 widgetContentUpdated?.Dispose();
649 if (_widgetCreationAbortedEventCallback != null)
651 WidgetViewSignal widgetCreationAborted = this.WidgetCreationAbortedSignal();
652 widgetCreationAborted?.Disconnect(_widgetCreationAbortedEventCallback);
653 widgetCreationAborted?.Dispose();
656 if (_widgetDeletedEventCallback != null)
658 WidgetViewSignal widgetDeleted = this.WidgetDeletedSignal();
659 widgetDeleted?.Disconnect(_widgetDeletedEventCallback);
660 widgetDeleted?.Dispose();
663 if (_widgetFaultedEventCallback != null)
665 WidgetViewSignal widgetFaulted = this.WidgetFaultedSignal();
666 widgetFaulted?.Disconnect(_widgetFaultedEventCallback);
667 widgetFaulted?.Dispose();
670 if (_widgetUpdatePeriodChangedEventCallback != null)
672 WidgetViewSignal widgetUpdatePeriodChanged = this.WidgetUpdatePeriodChangedSignal();
673 widgetUpdatePeriodChanged?.Disconnect(_widgetUpdatePeriodChangedEventCallback);
674 widgetUpdatePeriodChanged?.Dispose();
680 /// This will not be public opened.
681 [EditorBrowsable(EditorBrowsableState.Never)]
682 protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
684 Interop.WidgetView.DeleteWidgetView(swigCPtr);
687 // Callback for WidgetView WidgetAdded signal
688 private void OnWidgetAdded(IntPtr data)
690 WidgetViewEventArgs e = new WidgetViewEventArgs();
693 e.WidgetView = WidgetView.GetWidgetViewFromPtr(data);
696 if (_widgetAddedEventHandler != null)
698 _widgetAddedEventHandler(this, e);
702 // Callback for WidgetView WidgetDeleted signal
703 private void OnWidgetDeleted(IntPtr data)
705 WidgetViewEventArgs e = new WidgetViewEventArgs();
708 e.WidgetView = WidgetView.GetWidgetViewFromPtr(data);
711 if (_widgetDeletedEventHandler != null)
713 _widgetDeletedEventHandler(this, e);
717 // Callback for WidgetView WidgetCreationAborted signal
718 private void OnWidgetCreationAborted(IntPtr data)
720 WidgetViewEventArgs e = new WidgetViewEventArgs();
723 e.WidgetView = WidgetView.GetWidgetViewFromPtr(data);
726 if (_widgetCreationAbortedEventHandler != null)
728 _widgetCreationAbortedEventHandler(this, e);
734 // Callback for WidgetView WidgetContentUpdated signal
735 private void OnWidgetContentUpdated(IntPtr data)
737 WidgetViewEventArgs e = new WidgetViewEventArgs();
740 e.WidgetView = WidgetView.GetWidgetViewFromPtr(data);
743 if (_widgetContentUpdatedEventHandler != null)
745 _widgetContentUpdatedEventHandler(this, e);
749 // Callback for WidgetView WidgetUpdatePeriodChanged signal
750 private void OnWidgetUpdatePeriodChanged(IntPtr data)
752 WidgetViewEventArgs e = new WidgetViewEventArgs();
755 e.WidgetView = WidgetView.GetWidgetViewFromPtr(data);
758 if (_widgetUpdatePeriodChangedEventHandler != null)
760 _widgetUpdatePeriodChangedEventHandler(this, e);
764 // Callback for WidgetView WidgetFaulted signal
765 private void OnWidgetFaulted(IntPtr data)
767 WidgetViewEventArgs e = new WidgetViewEventArgs();
770 e.WidgetView = WidgetView.GetWidgetViewFromPtr(data);
773 if (_widgetFaultedEventHandler != null)
775 _widgetFaultedEventHandler(this, e);
780 /// Event arguments of the widget view.
782 /// <since_tizen> 3 </since_tizen>
783 public class WidgetViewEventArgs : EventArgs
785 private WidgetView _widgetView;
790 /// <since_tizen> 3 </since_tizen>
791 public WidgetView WidgetView
804 internal new class Property
806 internal static readonly int WidgetId = Interop.WidgetView.WidgetIdGet();
807 internal static readonly int InstanceId = Interop.WidgetView.InstanceIdGet();
808 internal static readonly int ContentInfo = Interop.WidgetView.ContentInfoGet();
809 internal static readonly int TITLE = Interop.WidgetView.TitleGet();
810 internal static readonly int UpdatePeriod = Interop.WidgetView.UpdatePeriodGet();
811 internal static readonly int PREVIEW = Interop.WidgetView.PreviewGet();
812 internal static readonly int LoadingText = Interop.WidgetView.LoadingTextGet();
813 internal static readonly int WidgetStateFaulted = Interop.WidgetView.WidgetStateFaultedGet();
814 internal static readonly int PermanentDelete = Interop.WidgetView.PermanentDeleteGet();
815 internal static readonly int RetryText = Interop.WidgetView.RetryTextGet();
816 internal static readonly int EFFECT = Interop.WidgetView.EffectGet();