merging dali-sharp class scope with nui
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / NUIConstants.cs
1 // Copyright (c) 2017 Samsung Electronics Co., Ltd.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 using System.ComponentModel;
15
16 namespace Tizen.NUI
17 {
18     public enum ScrollModeType
19     {
20       XAxisScrollEnabled,
21       XAxisSnapToInterval,
22       XAxisScrollBoundary,
23       YAxisScrollEnabled,
24       YAxisSnapToInterval,
25       YAxisScrollBoundary
26     }
27
28     /// <summary>
29     /// This specifies whether the Actor uses its own color, or inherits.
30     /// </summary>
31     public enum ColorMode
32     {
33         /// <summary>
34         /// Actor will use its own color.
35         /// </summary>
36         UseOwnColor,
37          /// <summary>
38         /// Actor will use its parent color.
39         /// </summary>
40         UseParentColor,
41         /// <summary>
42         /// Actor will blend its color with its parents color.
43         /// </summary>
44         UseOwnMultiplyParentColor,
45         /// <summary>
46         /// Actor will blend its alpha with its parents alpha. This means when parent fades in or out child does as well. This is the default.
47         /// </summary>
48         UseOwnMultiplyParentAlpha
49     }
50
51     /// <summary>
52     /// This specifies the dimesion of width or heigh for size negotiation.
53     /// </summary>
54     public enum DimensionType
55     {
56         /// <summary>
57         /// Width dimension
58         /// </summary>
59         Width = 0x1,
60         /// <summary>
61         /// Height dimension
62         /// </summary>
63         Height = 0x2,
64         /// <summary>
65         /// Mask to cover all flags
66         /// </summary>
67         AllDimensions = 0x3
68     }
69
70     /// <summary>
71     /// Enumeration for the instance of how the actor and it's children will be drawn.
72     /// </summary>
73     public enum DrawModeType
74     {
75         /// <summary>
76         /// The default draw-mode
77         /// </summary>
78         Normal = 0,
79         /// <summary>
80         /// Draw the actor and its children as an overlay
81         /// </summary>
82         Overlay2D = 1,
83         /// <summary>
84         /// Will be replaced by separate ClippingMode enum. Draw the actor and its children into the stencil buffer
85         /// </summary>
86         Stencil = 3
87     }
88
89     /// <summary>
90     /// Enumeration for size negotiation resize policies.
91     /// </summary>
92     public enum ResizePolicyType
93     {
94         /// <summary>
95         /// Size is fixed as set by SetSize
96         /// </summary>
97         Fixed,
98         /// <summary>
99         /// Size is to use the actor's natural size
100         /// </summary>
101         /// <see cref="View.GetNaturalSize"/>
102         UseNaturalSize,
103         /// <summary>
104         /// Size is to fill up to the actor's parent's bounds. Aspect ratio is not maintained.
105         /// </summary>
106         FillToParent,
107         /// <summary>
108         /// The actors size will be ( ParentSize * SizeRelativeToParentFactor ).
109         /// </summary>
110         SizeRelativeToParent,
111         /// <summary>
112         /// The actors size will be ( ParentSize + SizeRelativeToParentFactor ).
113         /// </summary>
114         SizeFixedOffsetFromParent,
115         /// <summary>
116         /// Size will adjust to wrap around all children
117         /// </summary>
118         FitToChildren,
119         /// <summary>
120         /// One dimension is dependent on the other
121         /// </summary>
122         DimensionDependency,
123         /// <summary>
124         /// The size will be assigned to the actor
125         /// </summary>
126         UseAssignedSize
127     }
128
129     /// <summary>
130     /// Enumeration for policies to determine how an actor should resize itself when having its size set in size negotiation.
131     /// </summary>
132     public enum SizeScalePolicyType
133     {
134         /// <summary>
135         /// Use the size that was set
136         /// </summary>
137         UseSizeSet,
138         /// <summary>
139         /// Fit within the size set maintaining natural size aspect ratio
140         /// </summary>
141         FitWithAspectRatio,
142         /// <summary>
143         /// Fit within the size set maintaining natural size aspect ratio
144         /// </summary>
145         FillWithAspectRatio
146     }
147
148     /// <summary>
149     /// Enumeration for ClippingMode describing how this Actor's children will be clipped against it.
150     /// </summary>
151     public enum ClippingModeType
152     {
153         /// <summary>
154         /// This Actor will not clip its children.
155         /// </summary>
156         Disabled,
157         /// <summary>
158         /// This Actor will clip all children to within its boundaries (the actor will also be visible itself).
159         /// </summary>
160         ClipChildren
161     }
162
163     /// <summary>
164     /// Enumeration for type determination of how camera operates.
165     /// </summary>
166     public enum CameraType
167     {
168         /// <summary>
169         /// Camera orientation is taken from CameraActor.
170         /// </summary>
171         FreeLook,
172         /// <summary>
173         /// Camera is oriented to always look at a target.
174         /// </summary>
175         LookAtTarget
176     }
177
178     /// <summary>
179     /// Enumeration for projection modes.
180     /// </summary>
181     public enum ProjectionMode
182     {
183         /// <summary>
184         /// Distance causes foreshortening; objects further from the camera appear smaller.
185         /// </summary>
186         PerspectiveProjection,
187         /// <summary>
188         /// Relative distance from the camera does not affect the size of objects.
189         /// </summary>
190         OrthographicProjection
191     }
192
193     /// <summary>
194     /// This specifies ccustomView behaviour types.
195     /// </summary>
196     public enum CustomViewBehaviour
197     {
198         /// <summary>
199         /// Use to provide default behaviour (size negotiation is on, event callbacks are not called)
200         /// </summary>
201         ViewBehaviourDefault = 0,
202         /// <summary>
203         /// True if control does not need size negotiation, i.e. it can be skipped in the algorithm
204         /// </summary>
205         DisableSizeNegotiation = 1 << 0,
206         /// <summary>
207         /// Use to provide key navigation support.
208         /// </summary>
209         RequiresKeyboardNavigationSupport = 1 << 5,
210         /// <summary>
211         /// Use to make style change event disabled.
212         /// </summary>
213         DisableStyleChangeSignals = 1 << 6,
214         [EditorBrowsable(EditorBrowsableState.Never)]
215         LastViewBehaviourFlag
216     }
217
218     public enum DeviceClassType
219     {
220         None,
221         Seat,
222         Keyboard,
223         Mouse,
224         Touch,
225         Pen,
226         Pointer,
227         Gamepad
228     }
229
230     /// <summary>
231     /// This specifies all the property types. <br>
232     /// Enumeration for the property types supported.
233     /// </summary>
234     public enum PropertyType
235     {
236         /// <summary>
237         /// No type
238         /// </summary>
239         None,
240         /// <summary>
241         /// A boolean type
242         /// </summary>
243         Boolean,
244         /// <summary>
245         /// A float type
246         /// </summary>
247         Float,
248         /// <summary>
249         /// An integer type
250         /// </summary>
251         Integer,
252         /// <summary>
253         /// a vector array of size=2 with float precision
254         /// </summary>
255         Vector2,
256         /// <summary>
257         /// a vector array of size=3 with float precision
258         /// </summary>
259         Vector3,
260         /// <summary>
261         /// a vector array of size=4 with float precision
262         /// </summary>
263         Vector4,
264         /// <summary>
265         /// a 3x3 matrix
266         /// </summary>
267         Matrix3,
268         /// <summary>
269         /// a 4x4 matrix
270         /// </summary>
271         Matrix,
272         /// <summary>
273         /// an integer array of size=4
274         /// </summary>
275         Rectangle,
276         /// <summary>
277         /// either a quaternion or an axis angle rotation
278         /// </summary>
279         Rotation,
280         /// <summary>
281         /// A string type
282         /// </summary>
283         String,
284         /// <summary>
285         /// an array of PropertyValue
286         /// </summary>
287         Array,
288         /// <summary>
289         /// a string key to PropertyValue mapping
290         /// </summary>
291         Map
292     }
293
294     /// <summary>
295     /// This specifies the property access mode types. <br>
296     /// Enumeration for the access mode for custom properties.
297     /// </summary>
298     public enum PropertyAccessMode
299     {
300         /// <summary>
301         /// if the property is read-only
302         /// </summary>
303         ReadOnly,
304         /// <summary>
305         /// If the property is read/writeable
306         /// </summary>
307         ReadWrite,
308         /// <summary>
309         /// If the property can be animated or constrained
310         /// </summary>
311         Animatable,
312         /// <summary>
313         /// The number of access modes
314         /// </summary>
315         AccessModeCount
316     }
317
318     /// <summary>
319     /// Types of style change. Enumeration for StyleChange type.
320     /// </summary>
321     public enum StyleChangeType
322     {
323         /// <summary>
324         /// Denotes that the default font has changed.
325         /// </summary>
326         DefaultFontChange,
327         /// <summary>
328         /// Denotes that the default font size has changed.
329         /// </summary>
330         DefaultFontSizeChange,
331         /// <summary>
332         /// Denotes that the theme has changed.
333         /// </summary>
334         ThemeChange
335     }
336
337     /// <summary>
338     /// Enumeration for horizontal alignment types.
339     /// </summary>
340     public enum HorizontalAlignmentType
341     {
342         /// <summary>
343         /// Align horizontally left
344         /// </summary>
345         Left,
346         /// <summary>
347         /// Align horizontally center
348         /// </summary>
349         Center,
350         /// <summary>
351         /// Align horizontally right
352         /// </summary>
353         Right
354     }
355
356     /// <summary>
357     /// Enumeration for vertical alignment types.
358     /// </summary>
359     public enum VerticalAlignmentType
360     {
361         /// <summary>
362         /// Align vertically top
363         /// </summary>
364         Top,
365         /// <summary>
366         /// Align vertically center
367         /// </summary>
368         Center,
369         /// <summary>
370         /// Align vertically bottom
371         /// </summary>
372         Bottom
373     }
374
375     /// <summary>
376     /// Enumeration for point state type.
377     /// </summary>
378     public enum PointStateType
379     {
380         /// <summary>
381         /// Touch or hover started
382         /// </summary>
383         Started,
384         /// <summary>
385         /// Touch or hover finished
386         /// </summary>
387         Finished,
388         /// <summary>
389         /// Screen touched
390         /// </summary>
391         Down = Started,
392         /// <summary>
393         /// Touch stopped
394         /// </summary>
395         Up = Finished,
396         /// <summary>
397         /// Finger dragged or hovered
398         /// </summary>
399         Motion,
400         /// <summary>
401         /// Leave the boundary of an actor
402         /// </summary>
403         Leave,
404         /// <summary>
405         /// No change from last event. <br>
406         /// Useful when a multi-point event occurs where all points are sent but indicates that this particular point has not changed since the last time.
407         /// </summary>
408         Stationary,
409         /// <summary>
410         /// A system event has occurred which has interrupted the touch or hover event sequence.
411         /// </summary>
412         Interrupted
413     }
414
415     /// <summary>
416     /// Enumeration for the text horizontal aligning.
417     /// </summary>
418     public enum HorizontalAlignment
419     {
420         /// <summary>
421         /// Texts place at the begin of horizontal direction.
422         /// </summary>
423         Begin,
424         /// <summary>
425         /// Texts place at the center of horizontal direction.
426         /// </summary>
427         Center,
428         /// <summary>
429         /// Texts place at the end of horizontal direction.
430         /// </summary>
431         End
432     }
433
434     /// <summary>
435     /// Enumeration for the text horizontal aligning.
436     /// </summary>
437     public enum VerticalAlignment
438     {
439         /// <summary>
440         /// Texts place at the top of vertical direction.
441         /// </summary>
442         Top,
443         /// <summary>
444         /// Texts place at the center of vertical direction.
445         /// </summary>
446         Center,
447         /// <summary>
448         /// Texts place at the bottom of vertical direction.
449         /// </summary>
450         Bottom
451     }
452
453     /// <summary>
454     /// This specifies wrap mode types <br>
455     /// WrapModeU and WrapModeV separately decide how the texture should be sampled when the u and v coordinate exceeds the range of 0.0 to 1.0.
456     /// </summary>
457     public enum WrapModeType
458     {
459         /// <summary>
460         /// Defualt value
461         /// </summary>
462         Default = 0,
463         /// <summary>
464         /// Clamp to edge
465         /// </summary>
466         ClampToEdge,
467         /// <summary>
468         /// Repeat
469         /// </summary>
470         Repeat,
471         /// <summary>
472         /// Mirrored repeat
473         /// </summary>
474         MirroredRepeat
475     }
476
477     /// <summary>
478     /// The type of coordinate system for certain attributes of the points in a gradient.
479     /// </summary>
480     public enum GradientVisualUnitsType
481     {
482         /// <summary>
483         /// Uses the normals for the start, end & center points, i.e. top-left is (-0.5, -0.5) and bottom-right is (0.5, 0.5).
484         /// </summary>
485         ObjectBoundingBox,
486         /// <summary>
487         /// Uses the user coordinates for the start, end & center points, i.e. in a 200 by 200 control, top-left is (0, 0) and bottom-right is (200, 200).
488         /// </summary>
489         UserSpace
490     }
491
492     /// <summary>
493     /// This specifies SpreadMethod types.<br>
494     /// SpreadMethod defines what happens if the gradient starts or ends inside the bounds of the target rectangle.<br>
495     /// </summary>
496     public enum GradientVisualSpreadMethodType
497     {
498         /// <summary>
499         /// Uses the terminal colors of the gradient to fill the remainder of the quad.
500         /// </summary>
501         Pad,
502         /// <summary>
503         /// Reflect the gradient pattern start-to-end, end-to-start, start-to-end etc. until the quad is filled.
504         /// </summary>
505         Reflect,
506         /// <summary>
507         /// Repeat the gradient pattern start-to-end, start-to-end, start-to-end etc. until the quad is filled.
508         /// </summary>
509         Repeat
510     }
511
512     /// <summary>
513     /// The shading mode used by MeshVisual.
514     /// </summary>
515     public enum MeshVisualShadingModeValue
516     {
517         /// <summary>
518         /// *Simplest*. One color that is lit by ambient and diffuse lighting.
519         /// </summary>
520         TexturelessWithDiffuseLighting,
521         /// <summary>
522         /// Uses only the visual image textures provided with specular lighting in addition to ambient and diffuse lighting.
523         /// </summary>
524         TexturedWithSpecularLighting,
525         /// <summary>
526         /// Uses all textures provided including a gloss, normal and texture map along with specular, ambient and diffuse lighting.
527         /// </summary>
528         TexturedWithDetailedSpecularLighting
529     }
530
531     /// <summary>
532     /// The primitive shape to render as a PrimitiveVisual.
533     /// </summary>
534     public enum PrimitiveVisualShapeType
535     {
536         /// <summary>
537         /// A perfectly round geometrical object in three-dimensional space.
538         /// </summary>
539         Sphere,
540         /// <summary>
541         /// The area bound between two circles, i.e. a cone with the tip removed.
542         /// </summary>
543         ConicalFrustrum,
544         /// <summary>
545         /// Equivalent to a conical frustrum with top radius of zero.
546         /// </summary>Equivalent to a conical frustrum with top radius of zero.
547         Cone,
548         /// <summary>
549         /// Equivalent to a conical frustrum with top radius of zero.
550         /// </summary>
551         Cylinder,
552         /// <summary>
553         /// Equivalent to a conical frustrum with equal radii for the top and bottom circles.
554         /// </summary>
555         Cube,
556         /// <summary>
557         /// Equivalent to a bevelled cube with a bevel percentage of zero.
558         /// </summary>
559         Octahedron,
560         /// <summary>
561         /// Equivalent to a bevelled cube with a bevel percentage of one.
562         /// </summary>
563         BevelledCube
564     }
565
566     /// <summary>
567     /// This specifies fitting mode types. Fitting options, used when resizing images to fit desired dimensions.<br>
568     /// A fitting mode controls the region of a loaded image to be mapped to the desired image rectangle.<br>
569     /// All fitting modes preserve the aspect ratio of the image contents.<br>
570     /// </summary>
571     public enum FittingModeType
572     {
573         /// <summary>
574         /// Full-screen image display: Limit loaded image resolution to device resolution using ShrinkToFit mode.
575         /// </summary>
576         ShrinkToFit,
577         /// <summary>
578         /// Thumbnail gallery grid: Limit loaded image resolution to screen tile using ScaleToFill mode.
579         /// </summary>
580         ScaleToFill,
581         /// <summary>
582         /// Image columns: Limit loaded image resolution to column width using FitWidth mode.
583         /// </summary>
584         FitWidth,
585         /// <summary>
586         /// Image rows: Limit loaded image resolution to row height using FitHeight mode.
587         /// </summary>
588         FitHeight
589     }
590
591     /// <summary>
592     /// This specifies sampling mode types. Filtering options, used when resizing images to sample original pixels.<br>
593     /// A SamplingMode controls how pixels in an input image are sampled and combined to generate each pixel of a destination image during a scaling.<br>
594     /// NoFilter and Box modes do not guarantee that the output pixel array exactly matches the rectangle specified by the desired dimensions and FittingMode,<br>
595     /// but all other filter modes do if the desired dimensions are `<=` the raw dimensions of the input image file.<br>
596     /// </summary>
597     public enum SamplingModeType
598     {
599         /// <summary>
600         /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8, etc width and height and approximately the desired size. <br>
601         /// This is the default.
602         /// </summary>
603         Box,
604         /// <summary>
605         /// For each output pixel, read one input pixel.
606         /// </summary>
607         Nearest,
608         /// <summary>
609         /// For each output pixel, read a quad of four input pixels and write a weighted average of them.
610         /// </summary>
611         Linear,
612         /// <summary>
613         /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8 etc width and height and approximately the desired size, <br>
614         /// then for each output pixel, read one pixel from the last level of box filtering.<br>
615         /// </summary>
616         BoxThenNearest,
617         /// <summary>
618         /// Iteratively box filter to almost the right size, then for each output pixel, read four pixels from the last level of box filtering and write their weighted average.
619         /// </summary>
620         BoxThenLinear,
621         /// <summary>
622         /// No filtering is performed. If the SCALE_TO_FILL scaling mode is enabled, the borders of the image may be trimmed to match the aspect ratio of the desired dimensions.
623         /// </summary>
624         NoFilter,
625         /// <summary>
626         /// For caching algorithms where a client strongly prefers a cache-hit to reuse a cached image.
627         /// </summary>
628         DontCare
629     }
630
631     /// <summary>
632     /// This specifies policy types that could be used by the transform for the offset or size.
633     /// </summary>
634     public enum VisualTransformPolicyType
635     {
636         /// <summary>
637         /// Relative to the control (percentage [0.0f to 1.0f] of the control).
638         /// </summary>
639         Relative = 0,
640         /// <summary>
641         /// Absolute value in world units.
642         /// </summary>
643         Absolute = 1
644     }
645
646     /// <summary>
647     /// This specifies all the transform property types.
648     /// </summary>
649     public enum VisualTransformPropertyType
650     {
651         /// <summary>
652         /// Offset of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
653         /// </summary>
654         Offset,
655         /// <summary>
656         /// Size of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
657         /// </summary>
658         Size,
659         /// <summary>
660         /// The origin of the visual within its control area.
661         /// </summary>
662         Origin,
663         /// <summary>
664         /// The anchor-point of the visual
665         /// </summary>
666         AnchorPoint,
667         /// <summary>
668         /// Whether the x or y OFFSET values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
669         /// </summary>
670         OffsetPolicy,
671         /// <summary>
672         /// Whether the width or height SIZE values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
673         /// </summary>
674         SizePolicy
675     }
676
677     /// <summary>
678     /// This specifies visual types.
679     /// </summary>
680     public struct Visual
681     {
682         /// <summary>
683         /// The index for the visual type.
684         /// </summary>
685         public enum Type
686         {
687             /// <summary>
688             /// Renders a solid color as an internal border to the control's quad.
689             /// </summary>
690             Border,
691             /// <summary>
692             /// Renders a solid color to the control's quad.
693             /// </summary>
694             Color,
695             /// <summary>
696             /// Renders a smooth transition of colors to the control's quad.
697             /// </summary>
698             Gradient,
699             /// <summary>
700             /// Renders an image into the control's quad.
701             /// </summary>
702             Image,
703             /// <summary>
704             /// Renders a mesh using an "obj" file, optionally with textures provided by an "mtl" file.
705             /// </summary>
706             Mesh,
707             /// <summary>
708             /// Renders a simple 3D shape, such as a cube or sphere.
709             /// </summary>
710             Primitive,
711             /// <summary>
712             /// Renders a simple wire-frame outlining a quad.
713             /// </summary>
714             Wireframe,
715             /// <summary>
716             /// Renders text.
717             /// </summary>
718             Text,
719             /// <summary>
720             /// Renders an n-patch image.
721             /// </summary>
722             NPatch,
723             /// <summary>
724             /// Renders an SVG image.
725             /// </summary>
726             SVG,
727             /// <summary>
728             /// Renders a animated image. (Animated GIF)
729             /// </summary>
730             AnimatedImage
731         }
732
733         /// <summary>
734         /// This specifies visual properties.
735         /// </summary>
736         public struct Property
737         {
738             public static readonly int Type = NDalic.VISUAL_PROPERTY_TYPE;
739             public static readonly int Shader = NDalic.VISUAL_PROPERTY_SHADER;
740             public static readonly int Transform = NDalic.VISUAL_PROPERTY_TRANSFORM;
741             public static readonly int PremultipliedAlpha = NDalic.VISUAL_PROPERTY_PREMULTIPLIED_ALPHA;
742             public static readonly int MixColor = NDalic.VISUAL_PROPERTY_MIX_COLOR;
743             public static readonly int Opacity = NDalic.VISUAL_PROPERTY_MIX_COLOR + 1;
744         }
745
746         /// <summary>
747         /// This specifies shader properties.
748         /// </summary>
749         public struct ShaderProperty
750         {
751             public static readonly int VertexShader = NDalic.VISUAL_SHADER_VERTEX;
752             public static readonly int FragmentShader = NDalic.VISUAL_SHADER_FRAGMENT;
753             public static readonly int ShaderSubdivideGridX = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_X;
754             public static readonly int ShaderSubdivideGridY = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_Y;
755             public static readonly int ShaderHints = NDalic.VISUAL_SHADER_HINTS;
756         }
757
758         /// <summary>
759         /// This specifies Visaul align types.
760         /// </summary>
761         public enum AlignType
762         {
763             TopBegin = 0,
764             TopCenter,
765             TopEnd,
766             CenterBegin,
767             Center,
768             CenterEnd,
769             BottomBegin,
770             BottomCenter,
771             BottomEnd
772         }
773     }
774
775     /// <summary>
776     /// This specifies properties of BorderVisual.
777     /// </summary>
778     public struct BorderVisualProperty
779     {
780         public static readonly int Color = NDalic.BORDER_VISUAL_COLOR;
781         public static readonly int Size = NDalic.BORDER_VISUAL_SIZE;
782         public static readonly int AntiAliasing = NDalic.BORDER_VISUAL_ANTI_ALIASING;
783     }
784
785     /// <summary>
786     /// This specifies properties of ColorVisual.
787     /// </summary>
788     public struct ColorVisualProperty
789     {
790         public static readonly int MixColor = NDalic.COLOR_VISUAL_MIX_COLOR;
791     }
792
793     /// <summary>
794     /// This specifies properties of GradientVisual.
795     /// </summary>
796     public struct GradientVisualProperty
797     {
798         public static readonly int StartPosition = NDalic.GRADIENT_VISUAL_START_POSITION;
799         public static readonly int EndPosition = NDalic.GRADIENT_VISUAL_END_POSITION;
800         public static readonly int Center = NDalic.GRADIENT_VISUAL_CENTER;
801         public static readonly int Radius = NDalic.GRADIENT_VISUAL_RADIUS;
802         public static readonly int StopOffset = NDalic.GRADIENT_VISUAL_STOP_OFFSET;
803         public static readonly int StopColor = NDalic.GRADIENT_VISUAL_STOP_COLOR;
804         public static readonly int Units = NDalic.GRADIENT_VISUAL_UNITS;
805         public static readonly int SpreadMethod = NDalic.GRADIENT_VISUAL_SPREAD_METHOD;
806     }
807
808     /// <summary>
809     /// This specifies properties of ImageVisual.
810     /// </summary>
811     public struct ImageVisualProperty
812     {
813         public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
814         public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
815         public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
816         public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
817         public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
818         public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
819         public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
820         public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
821         public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
822         public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
823         public static readonly int Border = NDalic.IMAGE_VISUAL_BORDER;
824     }
825
826     /// <summary>
827     /// This specifies properties of MeshVisual.
828     /// </summary>
829     public struct MeshVisualProperty
830     {
831         public static readonly int ObjectURL = NDalic.MESH_VISUAL_OBJECT_URL;
832         public static readonly int MaterialtURL = NDalic.MESH_VISUAL_MATERIAL_URL;
833         public static readonly int TexturesPath = NDalic.MESH_VISUAL_TEXTURES_PATH;
834         public static readonly int ShadingMode = NDalic.MESH_VISUAL_SHADING_MODE;
835         public static readonly int UseMipmapping = NDalic.MESH_VISUAL_USE_MIPMAPPING;
836         public static readonly int UseSoftNormals = NDalic.MESH_VISUAL_USE_SOFT_NORMALS;
837         public static readonly int LightPosition = NDalic.MESH_VISUAL_LIGHT_POSITION;
838     }
839
840     /// <summary>
841     /// This specifies properties of PrimitiveVisual.
842     /// </summary>
843     public struct PrimitiveVisualProperty
844     {
845         public static readonly int Shape = NDalic.PRIMITIVE_VISUAL_SHAPE;
846         public static readonly int MixColor = NDalic.PRIMITIVE_VISUAL_MIX_COLOR;
847         public static readonly int Slices = NDalic.PRIMITIVE_VISUAL_SLICES;
848         public static readonly int Stacks = NDalic.PRIMITIVE_VISUAL_STACKS;
849         public static readonly int ScaleTopRadius = NDalic.PRIMITIVE_VISUAL_SCALE_TOP_RADIUS;
850         public static readonly int ScaleBottomRadius = NDalic.PRIMITIVE_VISUAL_SCALE_BOTTOM_RADIUS;
851         public static readonly int ScaleHeight = NDalic.PRIMITIVE_VISUAL_SCALE_HEIGHT;
852         public static readonly int ScaleRadius = NDalic.PRIMITIVE_VISUAL_SCALE_RADIUS;
853         public static readonly int ScaleDimensions = NDalic.PRIMITIVE_VISUAL_SCALE_DIMENSIONS;
854         public static readonly int BevelPercentage = NDalic.PRIMITIVE_VISUAL_BEVEL_PERCENTAGE;
855         public static readonly int BevelSmoothness = NDalic.PRIMITIVE_VISUAL_BEVEL_SMOOTHNESS;
856         public static readonly int LightPosition = NDalic.PRIMITIVE_VISUAL_LIGHT_POSITION;
857     }
858
859     /// <summary>
860     /// This specifies properties of TextVisual.
861     /// </summary>
862     public struct TextVisualProperty
863     {
864         public static readonly int Text = NDalic.TEXT_VISUAL_TEXT;
865         public static readonly int FontFamily = NDalic.TEXT_VISUAL_FONT_FAMILY;
866         public static readonly int FontStyle = NDalic.TEXT_VISUAL_FONT_STYLE;
867         public static readonly int PointSize = NDalic.TEXT_VISUAL_POINT_SIZE;
868         public static readonly int MultiLine = NDalic.TEXT_VISUAL_MULTI_LINE;
869         public static readonly int HorizontalAlignment = NDalic.TEXT_VISUAL_HORIZONTAL_ALIGNMENT;
870         public static readonly int VerticalAlignment = NDalic.TEXT_VISUAL_VERTICAL_ALIGNMENT;
871         public static readonly int TextColor = NDalic.TEXT_VISUAL_TEXT_COLOR;
872         public static readonly int EnableMarkup = NDalic.TEXT_VISUAL_ENABLE_MARKUP;
873     }
874
875     /// <summary>
876     /// This specifies properties of NpatchImageVisual.
877     /// </summary>
878     public struct NpatchImageVisualProperty
879     {
880         public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
881         public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
882         public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
883         public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
884         public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
885         public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
886         public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
887         public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
888         public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
889         public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
890         public static readonly int Border = NDalic.IMAGE_VISUAL_WRAP_MODE_V + 1;
891     }
892
893     /// <summary>
894     /// HiddenInput Property.
895     /// </summary>
896     public struct HiddenInputProperty
897     {
898         public static readonly int Mode = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_MODE_get();
899         public static readonly int SubstituteCharacter = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_CHARACTER_get();
900         public static readonly int SubstituteCount = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_COUNT_get();
901         public static readonly int ShowDuration = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SHOW_DURATION_get();
902     }
903
904     /// <summary>
905     /// The type for HiddenInput mode.
906     /// </summary>
907     public enum HiddenInputModeType
908     {
909         /// <summary>
910         /// Don't hide text.
911         /// </summary>
912         HideNone,
913         /// <summary>
914         /// Hide all the input text.
915         /// </summary>
916         HideAll,
917         /// <summary>
918         /// Hide n characters from start.
919         /// </summary>
920         HideCount,
921         /// <summary>
922         /// Show n characters from start.
923         /// </summary>
924         ShowCount,
925         /// <summary>
926         /// Show last character for the duration(use ShowDuration property to modify duration).
927         /// </summary>
928         ShowLastCharacter
929     }
930
931     /// <summary>
932     /// ParentOrigin constants.
933     /// </summary>
934     public struct ParentOrigin
935     {
936         public static float Top
937         {
938             get
939             {
940                 float ret = NDalicPINVOKE.ParentOriginTop_get();
941                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
942                 return ret;
943             }
944         }
945         public static float Bottom
946         {
947             get
948             {
949                 float ret = NDalicPINVOKE.ParentOriginBottom_get();
950                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
951                 return ret;
952             }
953         }
954         public static float Left
955         {
956             get
957             {
958                 float ret = NDalicPINVOKE.ParentOriginLeft_get();
959                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
960                 return ret;
961             }
962         }
963         public static float Right
964         {
965             get
966             {
967                 float ret = NDalicPINVOKE.ParentOriginRight_get();
968                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
969                 return ret;
970             }
971         }
972         public static float Middle
973         {
974             get
975             {
976                 float ret = NDalicPINVOKE.ParentOriginMiddle_get();
977                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
978                 return ret;
979             }
980         }
981         public static Position TopLeft
982         {
983             get
984             {
985                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopLeft_get();
986                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
987                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
988                 return ret;
989             }
990         }
991         public static Position TopCenter
992         {
993             get
994             {
995                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopCenter_get();
996                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
997                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
998                 return ret;
999             }
1000         }
1001         public static Position TopRight
1002         {
1003             get
1004             {
1005                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopRight_get();
1006                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1007                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1008                 return ret;
1009             }
1010         }
1011         public static Position CenterLeft
1012         {
1013             get
1014             {
1015                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterLeft_get();
1016                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1017                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1018                 return ret;
1019             }
1020         }
1021         public static Position Center
1022         {
1023             get
1024             {
1025                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenter_get();
1026                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1027                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1028                 return ret;
1029             }
1030         }
1031         public static Position CenterRight
1032         {
1033             get
1034             {
1035                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterRight_get();
1036                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1037                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1038                 return ret;
1039             }
1040         }
1041         public static Position BottomLeft
1042         {
1043             get
1044             {
1045                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomLeft_get();
1046                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1047                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1048                 return ret;
1049             }
1050         }
1051         public static Position BottomCenter
1052         {
1053             get
1054             {
1055                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomCenter_get();
1056                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1057                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1058                 return ret;
1059             }
1060         }
1061         public static Position BottomRight
1062         {
1063             get
1064             {
1065                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomRight_get();
1066                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1067                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1068                 return ret;
1069             }
1070         }
1071     }
1072
1073     /// <summary>
1074     /// AnchorPoint constants.
1075     /// </summary>
1076     public struct AnchorPoint
1077     {
1078         public static float Top
1079         {
1080             get
1081             {
1082                 float ret = NDalicPINVOKE.AnchorPointTop_get();
1083                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1084                 return ret;
1085             }
1086         }
1087         public static float Bottom
1088         {
1089             get
1090             {
1091                 float ret = NDalicPINVOKE.AnchorPointBottom_get();
1092                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1093                 return ret;
1094             }
1095         }
1096         public static float Left
1097         {
1098             get
1099             {
1100                 float ret = NDalicPINVOKE.AnchorPointLeft_get();
1101                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1102                 return ret;
1103             }
1104         }
1105         public static float Right
1106         {
1107             get
1108             {
1109                 float ret = NDalicPINVOKE.AnchorPointRight_get();
1110                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1111                 return ret;
1112             }
1113         }
1114         public static float Middle
1115         {
1116             get
1117             {
1118                 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
1119                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1120                 return ret;
1121             }
1122         }
1123         public static Position TopLeft
1124         {
1125             get
1126             {
1127                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
1128                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1129                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1130                 return ret;
1131             }
1132         }
1133         public static Position TopCenter
1134         {
1135             get
1136             {
1137                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
1138                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1139                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1140                 return ret;
1141             }
1142         }
1143         public static Position TopRight
1144         {
1145             get
1146             {
1147                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
1148                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1149                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1150                 return ret;
1151             }
1152         }
1153         public static Position CenterLeft
1154         {
1155             get
1156             {
1157                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
1158                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1159                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1160                 return ret;
1161             }
1162         }
1163         public static Position Center
1164         {
1165             get
1166             {
1167                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
1168                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1169                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1170                 return ret;
1171             }
1172         }
1173         public static Position CenterRight
1174         {
1175             get
1176             {
1177                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
1178                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1179                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1180                 return ret;
1181             }
1182         }
1183         public static Position BottomLeft
1184         {
1185             get
1186             {
1187                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
1188                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1189                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1190                 return ret;
1191             }
1192         }
1193         public static Position BottomCenter
1194         {
1195             get
1196             {
1197                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
1198                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1199                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1200                 return ret;
1201             }
1202         }
1203         public static Position BottomRight
1204         {
1205             get
1206             {
1207                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
1208                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1209                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1210                 return ret;
1211             }
1212         }
1213     }
1214     /// <summary>
1215     /// PositionAxis constants.
1216     /// </summary>
1217     public struct PositionAxis
1218     {
1219         public static Position X
1220         {
1221             get
1222             {
1223                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_XAXIS_get();
1224                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1225                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1226                 return ret;
1227             }
1228         }
1229         public static Position Y
1230         {
1231             get
1232             {
1233                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_YAXIS_get();
1234                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1235                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1236                 return ret;
1237             }
1238         }
1239         public static Position Z
1240         {
1241             get
1242             {
1243                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ZAXIS_get();
1244                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1245                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1246                 return ret;
1247             }
1248         }
1249         public static Position NegativeX
1250         {
1251             get
1252             {
1253                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_XAXIS_get();
1254                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1255                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1256                 return ret;
1257             }
1258         }
1259         public static Position NegativeY
1260         {
1261             get
1262             {
1263                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_YAXIS_get();
1264                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1265                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1266                 return ret;
1267             }
1268         }
1269         public static Position NegativeZ
1270         {
1271             get
1272             {
1273                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_ZAXIS_get();
1274                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1275                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1276                 return ret;
1277             }
1278         }
1279     }
1280
1281     /// <summary>
1282     /// Auto scrolling stop behaviour.
1283     /// </summary>
1284     public enum AutoScrollStopMode
1285     {
1286         /// <summary>
1287         /// Stop animation after current loop finished.
1288         /// </summary>
1289         FinishLoop,
1290         /// <summary>
1291         /// Stop animation immediatly and reset position.
1292         /// </summary>
1293         Immediate
1294     }
1295
1296     /// <summary>
1297     /// An enum of screen mode.
1298     /// </summary>
1299     public enum ScreenMode {
1300         /// <summary>
1301         /// The mode which turns the screen off after a timeout.
1302         /// </summary>
1303         Default,
1304         /// <summary>
1305         /// The mode which keeps the screen turned on.
1306         /// </summary>
1307         AlwaysOn
1308     }
1309
1310     /// <summary>
1311     /// An enum of notification window's priority level.
1312     /// </summary>
1313     public enum NotificationLevel {
1314         /// <summary>
1315         /// No notification level.<br>
1316         /// Default level.<br>
1317         /// This value makes the notification window place in the layer of the normal window.
1318         /// </summary>
1319         None = -1,
1320         /// <summary>
1321         /// Base nofitication level.
1322         /// </summary>
1323         Base = 10,
1324         /// <summary>
1325         /// Medium notification level than base.
1326         /// </summary>
1327         Medium = 20,
1328         /// <summary>
1329         /// Higher notification level than medium.
1330         /// </summary>
1331         High = 30,
1332         /// <summary>
1333         /// The highest notification level.
1334         /// </summary>
1335         Top = 40
1336     }
1337
1338     /// <summary>
1339     /// An enum of Window types.
1340     /// </summary>
1341     public enum WindowType {
1342         /// <summary>
1343         /// A default window type.<br>
1344         /// Indicates a normal, top-level window.
1345         /// Almost every window will be created with this type.
1346         /// </summary>
1347         Normal,
1348         /// <summary>
1349         /// A notification window, like a warning about battery life or a new E-Mail received.
1350         /// </summary>
1351         Notification,
1352         /// <summary>
1353         /// A persistent utility window, like a toolbox or palette.
1354         /// </summary>
1355         Utility,
1356         /// <summary>
1357         /// Used for simple dialog windows.
1358         /// </summary>
1359         Dialog
1360     }
1361
1362     public enum DisposeTypes
1363     {              
1364         Explicit,   //Called By User 
1365         Implicit,   //Called by DisposeQueue
1366     }
1367 }