2 * Automatically generated, do not edit this file directly
9 #include "application.h"
10 #include "bitmapimage.h"
11 #include "bitmapsource.h"
15 #include "collection.h"
17 #include "contentcontrol.h"
19 #include "deepzoomimagetilesource.h"
20 #include "dependencyobject.h"
21 #include "dependencyproperty.h"
22 #include "deployment.h"
23 #include "downloader.h"
25 #include "frameworkelement.h"
29 #include "layoutinformation.h"
31 #include "mediaelement.h"
32 #include "multiscaleimage.h"
33 #include "multiscalesubimage.h"
34 #include "namescope.h"
36 #include "plugin-accessibility.h"
39 #include "resources.h"
44 #include "textblock.h"
46 #include "tilesource.h"
48 #include "transform.h"
50 #include "uielement.h"
51 #include "usercontrol.h"
52 #include "validators.h"
55 Types::RegisterNativeProperties ()
57 DependencyProperty::Register (this, Type::VISUALBRUSH
, "Visual", false, Type::UIELEMENT
);
58 DependencyProperty::Register (this, Type::VIDEOBRUSH
, "SourceName", false, new Value (""), Type::STRING
);
59 DependencyProperty::Register (this, Type::IMAGEBRUSH
, "ImageSource", false, Type::IMAGESOURCE
);
60 DependencyProperty::Register (this, Type::IMAGEBRUSH
, "DownloadProgress", false, new Value (0.0), Type::DOUBLE
);
61 DependencyProperty::Register (this, Type::RADIALGRADIENTBRUSH
, "RadiusY", false, new Value (0.5), Type::DOUBLE
);
62 DependencyProperty::Register (this, Type::RADIALGRADIENTBRUSH
, "RadiusX", false, new Value (0.5), Type::DOUBLE
);
63 DependencyProperty::Register (this, Type::RADIALGRADIENTBRUSH
, "GradientOrigin", false, new Value (Point (0.5, 0.5)), Type::POINT
);
64 DependencyProperty::Register (this, Type::RADIALGRADIENTBRUSH
, "Center", false, new Value (Point (0.5, 0.5)), Type::POINT
);
65 DependencyProperty::Register (this, Type::LINEARGRADIENTBRUSH
, "StartPoint", false, Type::POINT
);
66 DependencyProperty::Register (this, Type::LINEARGRADIENTBRUSH
, "EndPoint", false, new Value (Point(1,1)), Type::POINT
);
67 DependencyProperty::Register (this, Type::SOLIDCOLORBRUSH
, "Color", false, new Value (Color (0x00000000)), Type::COLOR
);
68 DependencyProperty::Register (this, Type::TILEBRUSH
, "Stretch", false, new Value (StretchFill
), Type::INT32
);
69 DependencyProperty::Register (this, Type::TILEBRUSH
, "AlignmentY", false, new Value (AlignmentYCenter
), Type::INT32
);
70 DependencyProperty::Register (this, Type::TILEBRUSH
, "AlignmentX", false, new Value (AlignmentXCenter
), Type::INT32
);
71 DependencyProperty::Register (this, Type::GRADIENTBRUSH
, "SpreadMethod", false, new Value (GradientSpreadMethodPad
), Type::INT32
);
72 DependencyProperty::Register (this, Type::GRADIENTBRUSH
, "MappingMode", false, new Value (BrushMappingModeRelativeToBoundingBox
), Type::INT32
);
73 DependencyProperty::RegisterFull (this, Type::GRADIENTBRUSH
, "GradientStops", false, NULL
, Type::GRADIENTSTOP_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
74 DependencyProperty::Register (this, Type::GRADIENTBRUSH
, "ColorInterpolationMode", false, new Value (ColorInterpolationModeSRgbLinearInterpolation
), Type::INT32
);
75 DependencyProperty::RegisterFull (this, Type::INKPRESENTER
, "Strokes", false, NULL
, Type::STROKE_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
76 DependencyProperty::Register (this, Type::BRUSH
, "Transform", false, Value::CreateUnrefPtr (new MatrixTransform ()), Type::TRANSFORM
);
77 DependencyProperty::Register (this, Type::BRUSH
, "RelativeTransform", false, Value::CreateUnrefPtr (new MatrixTransform ()), Type::TRANSFORM
);
78 DependencyProperty::Register (this, Type::BRUSH
, "Opacity", false, new Value (1.0), Type::DOUBLE
);
79 DependencyProperty::Register (this, Type::BRUSH
, "Changed", false, Type::BOOL
);
80 DependencyProperty::Register (this, Type::RECTANGLE
, "RadiusY", false, new Value (0.0), Type::DOUBLE
);
81 DependencyProperty::Register (this, Type::RECTANGLE
, "RadiusX", false, new Value (0.0), Type::DOUBLE
);
82 DependencyProperty::RegisterFull (this, Type::POLYLINE
, "Points", false, NULL
, Type::POINT_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
83 DependencyProperty::Register (this, Type::POLYLINE
, "FillRule", false, new Value (FillRuleEvenOdd
), Type::INT32
);
84 DependencyProperty::RegisterFull (this, Type::POLYGON
, "Points", false, NULL
, Type::POINT_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
85 DependencyProperty::Register (this, Type::POLYGON
, "FillRule", false, new Value (FillRuleEvenOdd
), Type::INT32
);
86 DependencyProperty::Register (this, Type::PATH
, "Data", false, Type::GEOMETRY
);
87 DependencyProperty::Register (this, Type::LINE
, "Y2", false, new Value (0.0), Type::DOUBLE
);
88 DependencyProperty::Register (this, Type::LINE
, "Y1", false, new Value (0.0), Type::DOUBLE
);
89 DependencyProperty::Register (this, Type::LINE
, "X2", false, new Value (0.0), Type::DOUBLE
);
90 DependencyProperty::Register (this, Type::LINE
, "X1", false, new Value (0.0), Type::DOUBLE
);
91 DependencyProperty::RegisterFull (this, Type::MULTISCALEIMAGE
, "ViewportWidth", false, new Value (1.0), Type::DOUBLE
, false, false, true, NULL
, NULL
, NULL
, false);
92 DependencyProperty::RegisterFull (this, Type::MULTISCALEIMAGE
, "ViewportOrigin", false, new Value (Point(0,0)), Type::POINT
, false, false, true, NULL
, NULL
, NULL
, false);
93 DependencyProperty::Register (this, Type::MULTISCALEIMAGE
, "UseSprings", false, new Value (true), Type::BOOL
);
94 DependencyProperty::Register (this, Type::MULTISCALEIMAGE
, "TileFade", false, new Value (0.0), Type::DOUBLE
);
95 DependencyProperty::RegisterFull (this, Type::MULTISCALEIMAGE
, "SubImages", false, NULL
, Type::MULTISCALESUBIMAGE_COLLECTION
, false, true, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
96 DependencyProperty::Register (this, Type::MULTISCALEIMAGE
, "Source", false, Type::MULTISCALETILESOURCE
);
97 DependencyProperty::RegisterFull (this, Type::MULTISCALEIMAGE
, "IsIdle", false, new Value (true), Type::BOOL
, false, true, false, NULL
, NULL
, NULL
, false);
98 DependencyProperty::RegisterFull (this, Type::MULTISCALEIMAGE
, "IsDownloading", false, new Value (false), Type::BOOL
, false, true, false, NULL
, NULL
, NULL
, false);
99 DependencyProperty::Register (this, Type::MULTISCALEIMAGE
, "InternalViewportWidth", false, new Value (1.0), Type::DOUBLE
);
100 DependencyProperty::Register (this, Type::MULTISCALEIMAGE
, "InternalViewportOrigin", false, new Value (Point(0,0)), Type::POINT
);
101 DependencyProperty::Register (this, Type::MULTISCALEIMAGE
, "BlurFactor", false, new Value (1.0), Type::DOUBLE
);
102 DependencyProperty::RegisterFull (this, Type::MULTISCALEIMAGE
, "AspectRatio", false, new Value (1.0), Type::DOUBLE
, false, true, false, NULL
, NULL
, NULL
, false);
103 DependencyProperty::Register (this, Type::MULTISCALEIMAGE
, "AllowDownloading", false, new Value (true), Type::BOOL
);
104 DependencyProperty::RegisterFull (this, Type::IMAGE
, "Source", false, NULL
, Type::IMAGESOURCE
, false, false, false, NULL
, NULL
, Image::CreateDefaultImageSource
, false);
105 DependencyProperty::Register (this, Type::USERCONTROL
, "Content", false, Type::UIELEMENT
);
106 DependencyProperty::Register (this, Type::CONTENTCONTROL
, "ContentTemplate", false, Type::DATATEMPLATE
);
107 DependencyProperty::RegisterFull (this, Type::CONTENTCONTROL
, "Content", false, NULL
, Type::OBJECT
, false, false, false, NULL
, Validators::ContentControlContentValidator
, NULL
, false);
108 DependencyProperty::Register (this, Type::GRID
, "ShowGridLines", false, new Value (false), Type::BOOL
);
109 DependencyProperty::RegisterFull (this, Type::GRID
, "RowSpan", false, new Value (1), Type::INT32
, true, false, false, NULL
, Validators::IntGreaterThanZeroValidator
, NULL
, false);
110 DependencyProperty::RegisterFull (this, Type::GRID
, "Row", false, new Value (0), Type::INT32
, true, false, false, NULL
, Validators::PositiveIntValidator
, NULL
, false);
111 DependencyProperty::RegisterFull (this, Type::GRID
, "RowDefinitions", false, NULL
, Type::ROWDEFINITION_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
112 DependencyProperty::RegisterFull (this, Type::GRID
, "ColumnSpan", false, new Value (1), Type::INT32
, true, false, false, NULL
, Validators::IntGreaterThanZeroValidator
, NULL
, false);
113 DependencyProperty::RegisterFull (this, Type::GRID
, "Column", false, new Value (0), Type::INT32
, true, false, false, NULL
, Validators::PositiveIntValidator
, NULL
, false);
114 DependencyProperty::RegisterFull (this, Type::GRID
, "ColumnDefinitions", false, NULL
, Type::COLUMNDEFINITION_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
115 DependencyProperty::RegisterFull (this, Type::CANVAS
, "ZIndex", false, new Value (0), Type::INT32
, true, false, false, NULL
, NULL
, NULL
, false);
116 DependencyProperty::RegisterFull (this, Type::CANVAS
, "Top", false, new Value (0.0), Type::DOUBLE
, true, false, false, NULL
, NULL
, NULL
, false);
117 DependencyProperty::RegisterFull (this, Type::CANVAS
, "Left", false, new Value (0.0), Type::DOUBLE
, true, false, false, NULL
, NULL
, NULL
, false);
118 DependencyProperty::Register (this, Type::TEXTBLOCK
, "TextWrapping", false, new Value (TextWrappingNoWrap
), Type::INT32
);
119 DependencyProperty::Register (this, Type::TEXTBLOCK
, "Text", false, new Value (""), Type::STRING
);
120 DependencyProperty::Register (this, Type::TEXTBLOCK
, "TextDecorations", false, new Value (TextDecorationsNone
), Type::INT32
);
121 DependencyProperty::Register (this, Type::TEXTBLOCK
, "TextAlignment", false, new Value (TextAlignmentLeft
), Type::INT32
);
122 DependencyProperty::Register (this, Type::TEXTBLOCK
, "Padding", false, new Value (Thickness (0)), Type::THICKNESS
);
123 DependencyProperty::Register (this, Type::TEXTBLOCK
, "LineStackingStrategy", false, new Value (LineStackingStrategyMaxHeight
), Type::INT32
);
124 DependencyProperty::Register (this, Type::TEXTBLOCK
, "LineHeight", false, new Value (0.0), Type::DOUBLE
);
125 DependencyProperty::RegisterFull (this, Type::TEXTBLOCK
, "Inlines", false, NULL
, Type::INLINE_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
126 DependencyProperty::Register (this, Type::TEXTBLOCK
, "Foreground", false, Value::CreateUnrefPtr (new SolidColorBrush("black")), Type::BRUSH
);
127 DependencyProperty::Register (this, Type::TEXTBLOCK
, "FontWeight", false, new Value (FontWeight(TEXTBLOCK_FONT_WEIGHT
)), Type::FONTWEIGHT
);
128 DependencyProperty::Register (this, Type::TEXTBLOCK
, "FontStyle", false, new Value (FontStyle(TEXTBLOCK_FONT_STYLE
)), Type::FONTSTYLE
);
129 DependencyProperty::Register (this, Type::TEXTBLOCK
, "FontStretch", false, new Value (FontStretch(TEXTBLOCK_FONT_STRETCH
)), Type::FONTSTRETCH
);
130 DependencyProperty::Register (this, Type::TEXTBLOCK
, "FontSource", false, Type::FONTSOURCE
);
131 DependencyProperty::RegisterFull (this, Type::TEXTBLOCK
, "FontSize", false, NULL
, Type::DOUBLE
, false, false, false, NULL
, NULL
, AutoCreators::CreateDefaultFontSize
, false);
132 DependencyProperty::Register (this, Type::TEXTBLOCK
, "FontFamily", false, new Value (FontFamily(TEXTBLOCK_FONT_FAMILY
)), Type::FONTFAMILY
);
133 DependencyProperty::Register (this, Type::POPUP
, "VerticalOffset", false, new Value (0.0), Type::DOUBLE
);
134 DependencyProperty::Register (this, Type::POPUP
, "IsOpen", false, new Value (false), Type::BOOL
);
135 DependencyProperty::Register (this, Type::POPUP
, "HorizontalOffset", false, new Value (0.0), Type::DOUBLE
);
136 DependencyProperty::RegisterFull (this, Type::POPUP
, "Child", false, NULL
, Type::UIELEMENT
, false, false, false, NULL
, Validators::ContentControlContentValidator
, NULL
, false);
137 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "Volume", false, new Value (0.5), Type::DOUBLE
, false, false, false, NULL
, Validators::VolumeValidator
, NULL
, false);
138 DependencyProperty::Register (this, Type::MEDIAELEMENT
, "Stretch", false, new Value (StretchUniform
), Type::INT32
);
139 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "Source", false, NULL
, Type::URI
, false, false, true, NULL
, NULL
, NULL
, true);
140 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "RenderedFramesPerSecond", false, new Value (0.0), Type::DOUBLE
, false, true, false, NULL
, NULL
, NULL
, false);
141 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "Position", false, NULL
, Type::TIMESPAN
, false, false, true, NULL
, NULL
, NULL
, false);
142 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "NaturalVideoWidth", false, new Value (0), Type::INT32
, false, true, false, NULL
, Validators::IntGreaterThanZeroValidator
, NULL
, false);
143 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "NaturalVideoHeight", false, new Value (0), Type::INT32
, false, true, false, NULL
, Validators::IntGreaterThanZeroValidator
, NULL
, false);
144 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "NaturalDuration", false, new Value (Duration::FromSeconds (0)), Type::DURATION
, false, true, false, NULL
, NULL
, NULL
, false);
145 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "Markers", false, NULL
, Type::TIMELINEMARKER_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
146 DependencyProperty::Register (this, Type::MEDIAELEMENT
, "IsMuted", false, new Value (false), Type::BOOL
);
147 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "DroppedFramesPerSecond", false, new Value (0.0), Type::DOUBLE
, false, true, false, NULL
, NULL
, NULL
, false);
148 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "DownloadProgress", false, new Value (0.0), Type::DOUBLE
, false, true, false, NULL
, NULL
, NULL
, false);
149 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "DownloadProgressOffset", false, new Value (0.0), Type::DOUBLE
, false, true, false, NULL
, NULL
, NULL
, false);
150 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "CurrentState", false, new Value (MediaStateClosed
), Type::INT32
, false, true, false, NULL
, NULL
, NULL
, false);
151 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "CanSeek", false, new Value (false), Type::BOOL
, false, true, false, NULL
, NULL
, NULL
, false);
152 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "CanPause", false, new Value (false), Type::BOOL
, false, true, false, NULL
, NULL
, NULL
, false);
153 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "BufferingTime", false, NULL
, Type::TIMESPAN
, false, false, false, NULL
, Validators::BufferingTimeValidator
, NULL
, false);
154 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "BufferingProgress", false, new Value (0.0), Type::DOUBLE
, false, true, false, NULL
, NULL
, NULL
, false);
155 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "Balance", false, new Value (0.0), Type::DOUBLE
, false, false, false, NULL
, Validators::BalanceValidator
, NULL
, false);
156 DependencyProperty::Register (this, Type::MEDIAELEMENT
, "AutoPlay", false, new Value (true), Type::BOOL
);
157 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "AudioStreamIndex", false, NULL
, Type::INT32
, false, false, false, NULL
, Validators::AudioStreamIndexValidator
, NULL
, true);
158 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "AudioStreamCount", false, new Value (0), Type::INT32
, false, true, false, NULL
, NULL
, NULL
, false);
159 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "Attributes", false, NULL
, Type::MEDIAATTRIBUTE_COLLECTION
, false, false, false, NULL
, Validators::MediaAttributeCollectionValidator
, AutoCreators::default_autocreator
, false);
160 DependencyProperty::Register (this, Type::SHAPE
, "StrokeThickness", false, new Value (1.0), Type::DOUBLE
);
161 DependencyProperty::Register (this, Type::SHAPE
, "StrokeStartLineCap", false, new Value (PenLineCapFlat
), Type::INT32
);
162 DependencyProperty::Register (this, Type::SHAPE
, "Stroke", false, Type::BRUSH
);
163 DependencyProperty::Register (this, Type::SHAPE
, "StrokeMiterLimit", false, new Value (10.0), Type::DOUBLE
);
164 DependencyProperty::Register (this, Type::SHAPE
, "StrokeLineJoin", false, new Value (PenLineJoinMiter
), Type::INT32
);
165 DependencyProperty::Register (this, Type::SHAPE
, "StrokeEndLineCap", false, new Value (PenLineCapFlat
), Type::INT32
);
166 DependencyProperty::Register (this, Type::SHAPE
, "StrokeDashOffset", false, new Value (0.0), Type::DOUBLE
);
167 DependencyProperty::Register (this, Type::SHAPE
, "StrokeDashCap", false, new Value (PenLineCapFlat
), Type::INT32
);
168 DependencyProperty::Register (this, Type::SHAPE
, "StrokeDashArray", false, Type::DOUBLE_COLLECTION
);
169 DependencyProperty::RegisterFull (this, Type::SHAPE
, "Stretch", false, NULL
, Type::INT32
, false, false, false, NULL
, NULL
, Shape::CreateDefaultStretch
, false);
170 DependencyProperty::Register (this, Type::SHAPE
, "Fill", false, Type::BRUSH
);
171 DependencyProperty::Register (this, Type::MEDIABASE
, "Stretch", false, new Value (StretchUniform
), Type::INT32
);
172 DependencyProperty::RegisterFull (this, Type::MEDIABASE
, "Source", false, NULL
, Type::STRING
, false, false, true, NULL
, NULL
, NULL
, false);
173 DependencyProperty::Register (this, Type::MEDIABASE
, "DownloadProgress", false, new Value (0.0), Type::DOUBLE
);
174 DependencyProperty::Register (this, Type::GLYPHS
, "UnicodeString", false, new Value (""), Type::STRING
);
175 DependencyProperty::Register (this, Type::GLYPHS
, "StyleSimulations", false, new Value (StyleSimulationsNone
), Type::INT32
);
176 DependencyProperty::RegisterFull (this, Type::GLYPHS
, "OriginY", false, new Value (-HUGE
), Type::DOUBLE
, false, false, false, NULL
, Validators::FloatValidator
, NULL
, false);
177 DependencyProperty::RegisterFull (this, Type::GLYPHS
, "OriginX", false, new Value (-HUGE
), Type::DOUBLE
, false, false, false, NULL
, Validators::FloatValidator
, NULL
, false);
178 DependencyProperty::Register (this, Type::GLYPHS
, "Indices", false, new Value (""), Type::STRING
);
179 DependencyProperty::RegisterFull (this, Type::GLYPHS
, "FontUri", false, new Value (Uri()), Type::URI
, false, false, false, NULL
, Validators::NonNullValidator
, NULL
, false);
180 DependencyProperty::Register (this, Type::GLYPHS
, "FontRenderingEmSize", false, new Value (0.0), Type::DOUBLE
);
181 DependencyProperty::Register (this, Type::GLYPHS
, "Fill", false, Type::BRUSH
);
182 DependencyProperty::Register (this, Type::CONTROL
, "VerticalContentAlignment", false, new Value (VerticalAlignmentCenter
), Type::INT32
);
183 DependencyProperty::RegisterFull (this, Type::CONTROL
, "Template", false, NULL
, Type::CONTROLTEMPLATE
, false, false, false, NULL
, Validators::TemplateValidator
, NULL
, false);
184 DependencyProperty::Register (this, Type::CONTROL
, "TabNavigation", false, new Value (KeyboardNavigationModeLocal
), Type::INT32
);
185 DependencyProperty::Register (this, Type::CONTROL
, "TabIndex", false, new Value (INT_MAX
), Type::INT32
);
186 DependencyProperty::Register (this, Type::CONTROL
, "Padding", false, new Value (Thickness(0.0)), Type::THICKNESS
);
187 DependencyProperty::RegisterFull (this, Type::CONTROL
, "IsTemplateItem", false, new Value (false), Type::BOOL
, true, false, false, NULL
, NULL
, NULL
, false);
188 DependencyProperty::Register (this, Type::CONTROL
, "IsTabStop", false, new Value (true), Type::BOOL
);
189 DependencyProperty::Register (this, Type::CONTROL
, "IsEnabled", false, new Value (true), Type::BOOL
);
190 DependencyProperty::Register (this, Type::CONTROL
, "HorizontalContentAlignment", false, new Value (HorizontalAlignmentCenter
), Type::INT32
);
191 DependencyProperty::Register (this, Type::CONTROL
, "Foreground", false, Value::CreateUnrefPtr (new SolidColorBrush("black")), Type::BRUSH
);
192 DependencyProperty::Register (this, Type::CONTROL
, "FontWeight", false, new Value (FontWeight(CONTROL_FONT_WEIGHT
)), Type::FONTWEIGHT
);
193 DependencyProperty::Register (this, Type::CONTROL
, "FontStyle", false, new Value (FontStyle(CONTROL_FONT_STYLE
)), Type::FONTSTYLE
);
194 DependencyProperty::Register (this, Type::CONTROL
, "FontStretch", false, new Value (FontStretch(CONTROL_FONT_STRETCH
)), Type::FONTSTRETCH
);
195 DependencyProperty::RegisterFull (this, Type::CONTROL
, "FontSize", false, NULL
, Type::DOUBLE
, false, false, false, NULL
, NULL
, AutoCreators::CreateDefaultFontSize
, false);
196 DependencyProperty::Register (this, Type::CONTROL
, "FontFamily", false, new Value (FontFamily(CONTROL_FONT_FAMILY
)), Type::FONTFAMILY
);
197 DependencyProperty::Register (this, Type::CONTROL
, "DefaultStyleKey", false, Type::MANAGEDTYPEINFO
);
198 DependencyProperty::Register (this, Type::CONTROL
, "BorderThickness", false, new Value (Thickness(0.0)), Type::THICKNESS
);
199 DependencyProperty::Register (this, Type::CONTROL
, "BorderBrush", false, Type::BRUSH
);
200 DependencyProperty::Register (this, Type::CONTROL
, "Background", false, Type::BRUSH
);
201 DependencyProperty::RegisterFull (this, Type::PANEL
, "Children", false, NULL
, Type::UIELEMENT_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
202 DependencyProperty::Register (this, Type::PANEL
, "Background", false, Type::BRUSH
);
203 DependencyProperty::RegisterFull (this, Type::BORDER
, "Padding", false, new Value (Thickness(0)), Type::THICKNESS
, false, false, false, NULL
, Validators::BorderThicknessValidator
, NULL
, false);
204 DependencyProperty::RegisterFull (this, Type::BORDER
, "CornerRadius", false, new Value (CornerRadius(0)), Type::CORNERRADIUS
, false, false, false, NULL
, Validators::CornerRadiusValidator
, NULL
, false);
205 DependencyProperty::Register (this, Type::BORDER
, "Child", false, Type::UIELEMENT
);
206 DependencyProperty::RegisterFull (this, Type::BORDER
, "BorderThickness", false, new Value (Thickness(0)), Type::THICKNESS
, false, false, false, NULL
, Validators::BorderThicknessValidator
, NULL
, false);
207 DependencyProperty::Register (this, Type::BORDER
, "BorderBrush", false, Type::BRUSH
);
208 DependencyProperty::Register (this, Type::BORDER
, "Background", false, Type::BRUSH
);
209 DependencyProperty::RegisterFull (this, Type::TIMELINEGROUP
, "Children", false, NULL
, Type::TIMELINE_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
210 DependencyProperty::RegisterFull (this, Type::SETTER
, "Value", false, NULL
, Type::OBJECT
, false, false, false, NULL
, Validators::IsSetterSealedValidator
, NULL
, false);
211 DependencyProperty::RegisterFull (this, Type::SETTER
, "Property", false, NULL
, Type::DEPENDENCYPROPERTY
, false, false, false, NULL
, Validators::IsSetterSealedValidator
, NULL
, false);
212 DependencyProperty::Register (this, Type::SETTER
, "ConvertedValue", false, Type::OBJECT
);
213 DependencyProperty::Register (this, Type::RUN
, "Text", false, Type::STRING
);
214 DependencyProperty::Register (this, Type::RECTANGLEGEOMETRY
, "Rect", false, Type::RECT
);
215 DependencyProperty::Register (this, Type::RECTANGLEGEOMETRY
, "RadiusY", false, new Value (0.0), Type::DOUBLE
);
216 DependencyProperty::Register (this, Type::RECTANGLEGEOMETRY
, "RadiusX", false, new Value (0.0), Type::DOUBLE
);
217 DependencyProperty::Register (this, Type::PATHGEOMETRY
, "FillRule", false, new Value (FillRuleEvenOdd
), Type::INT32
);
218 DependencyProperty::RegisterFull (this, Type::PATHGEOMETRY
, "Figures", false, NULL
, Type::PATHFIGURE_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
219 DependencyProperty::Register (this, Type::LINEGEOMETRY
, "StartPoint", false, Type::POINT
);
220 DependencyProperty::Register (this, Type::LINEGEOMETRY
, "EndPoint", false, Type::POINT
);
221 DependencyProperty::Register (this, Type::GEOMETRYGROUP
, "FillRule", false, new Value (FillRuleEvenOdd
), Type::INT32
);
222 DependencyProperty::RegisterFull (this, Type::GEOMETRYGROUP
, "Children", false, NULL
, Type::GEOMETRY_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
223 DependencyProperty::Register (this, Type::ELLIPSEGEOMETRY
, "RadiusY", false, new Value (0.0), Type::DOUBLE
);
224 DependencyProperty::Register (this, Type::ELLIPSEGEOMETRY
, "RadiusX", false, new Value (0.0), Type::DOUBLE
);
225 DependencyProperty::Register (this, Type::ELLIPSEGEOMETRY
, "Center", false, Type::POINT
);
226 DependencyProperty::Register (this, Type::DEEPZOOMIMAGETILESOURCE
, "UriSource", false, Type::URI
);
227 DependencyProperty::RegisterFull (this, Type::RESOURCE_DICTIONARY
, "MergedDictionaries", false, NULL
, Type::RESOURCE_DICTIONARY_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
228 DependencyProperty::Register (this, Type::FRAMEWORKELEMENT
, "Width", false, new Value (NAN
), Type::DOUBLE
);
229 DependencyProperty::Register (this, Type::FRAMEWORKELEMENT
, "VerticalAlignment", false, new Value (VerticalAlignmentStretch
), Type::INT32
);
230 DependencyProperty::RegisterFull (this, Type::FRAMEWORKELEMENT
, "Style", false, NULL
, Type::STYLE
, false, false, false, NULL
, Validators::StyleValidator
, NULL
, false);
231 DependencyProperty::Register (this, Type::FRAMEWORKELEMENT
, "MinWidth", false, new Value (0.0), Type::DOUBLE
);
232 DependencyProperty::Register (this, Type::FRAMEWORKELEMENT
, "MinHeight", false, new Value (0.0), Type::DOUBLE
);
233 DependencyProperty::Register (this, Type::FRAMEWORKELEMENT
, "MaxWidth", false, new Value (INFINITY
), Type::DOUBLE
);
234 DependencyProperty::Register (this, Type::FRAMEWORKELEMENT
, "MaxHeight", false, new Value (INFINITY
), Type::DOUBLE
);
235 DependencyProperty::Register (this, Type::FRAMEWORKELEMENT
, "Margin", false, new Value (Thickness (0)), Type::THICKNESS
);
236 DependencyProperty::RegisterFull (this, Type::FRAMEWORKELEMENT
, "Language", false, new Value ("en-US"), Type::STRING
, false, false, false, NULL
, Validators::NonNullValidator
, NULL
, false);
237 DependencyProperty::Register (this, Type::FRAMEWORKELEMENT
, "HorizontalAlignment", false, new Value (HorizontalAlignmentStretch
), Type::INT32
);
238 DependencyProperty::Register (this, Type::FRAMEWORKELEMENT
, "Height", false, new Value (NAN
), Type::DOUBLE
);
239 DependencyProperty::Register (this, Type::FRAMEWORKELEMENT
, "DataContext", false, Type::OBJECT
);
240 DependencyProperty::RegisterFull (this, Type::FRAMEWORKELEMENT
, "ActualWidth", false, new Value (0.0), Type::DOUBLE
, false, true, false, NULL
, NULL
, NULL
, false);
241 DependencyProperty::RegisterFull (this, Type::FRAMEWORKELEMENT
, "ActualHeight", false, new Value (0.0), Type::DOUBLE
, false, true, false, NULL
, NULL
, NULL
, false);
242 DependencyProperty::Register (this, Type::POWEREASE
, "Power", false, new Value (2.0), Type::DOUBLE
);
243 DependencyProperty::Register (this, Type::EXPONENTIALEASE
, "Exponent", false, new Value (2.0), Type::DOUBLE
);
244 DependencyProperty::Register (this, Type::ELASTICEASE
, "Springiness", false, new Value (3.0), Type::DOUBLE
);
245 DependencyProperty::Register (this, Type::ELASTICEASE
, "Oscillations", false, new Value (3), Type::INT32
);
246 DependencyProperty::Register (this, Type::BOUNCEEASE
, "Bounciness", false, new Value (2.0), Type::DOUBLE
);
247 DependencyProperty::Register (this, Type::BOUNCEEASE
, "Bounces", false, new Value (3), Type::INT32
);
248 DependencyProperty::Register (this, Type::BACKEASE
, "Amplitude", false, new Value (1.0), Type::DOUBLE
);
249 DependencyProperty::RegisterFull (this, Type::SPLINEPOINTKEYFRAME
, "KeySpline", false, NULL
, Type::KEYSPLINE
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
250 DependencyProperty::Register (this, Type::EASINGPOINTKEYFRAME
, "EasingFunction", false, Type::EASINGFUNCTIONBASE
);
251 DependencyProperty::RegisterFull (this, Type::POINTANIMATIONUSINGKEYFRAMES
, "KeyFrames", false, NULL
, Type::POINTKEYFRAME_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
252 DependencyProperty::RegisterFull (this, Type::SPLINEDOUBLEKEYFRAME
, "KeySpline", false, NULL
, Type::KEYSPLINE
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
253 DependencyProperty::Register (this, Type::EASINGDOUBLEKEYFRAME
, "EasingFunction", false, Type::EASINGFUNCTIONBASE
);
254 DependencyProperty::RegisterFull (this, Type::DOUBLEANIMATIONUSINGKEYFRAMES
, "KeyFrames", false, NULL
, Type::DOUBLEKEYFRAME_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
255 DependencyProperty::Register (this, Type::TIMELINEMARKER
, "Type", false, Type::STRING
);
256 DependencyProperty::Register (this, Type::TIMELINEMARKER
, "Time", false, Type::TIMESPAN
);
257 DependencyProperty::Register (this, Type::TIMELINEMARKER
, "Text", false, Type::STRING
);
258 DependencyProperty::Register (this, Type::TIMELINE
, "SpeedRatio", false, new Value (1.0), Type::DOUBLE
);
259 DependencyProperty::Register (this, Type::TIMELINE
, "RepeatBehavior", false, new Value (RepeatBehavior ((double) 1)), Type::REPEATBEHAVIOR
);
260 DependencyProperty::Register (this, Type::TIMELINE
, "FillBehavior", false, new Value (FillBehaviorHoldEnd
), Type::INT32
);
261 DependencyProperty::Register (this, Type::TIMELINE
, "Duration", false, new Value (Duration::Automatic
), Type::DURATION
);
262 DependencyProperty::RegisterFull (this, Type::TIMELINE
, "BeginTime", false, new Value ((gint64
) 0, Type::TIMESPAN
), Type::TIMESPAN
, false, false, false, NULL
, NULL
, NULL
, true);
263 DependencyProperty::Register (this, Type::TIMELINE
, "AutoReverse", false, new Value (false), Type::BOOL
);
264 DependencyProperty::Register (this, Type::STYLUSPOINT
, "Y", false, new Value (0.0), Type::DOUBLE
);
265 DependencyProperty::Register (this, Type::STYLUSPOINT
, "X", false, new Value (0.0), Type::DOUBLE
);
266 DependencyProperty::Register (this, Type::STYLUSPOINT
, "PressureFactor", false, new Value (0.5), Type::DOUBLE
);
267 DependencyProperty::Register (this, Type::STYLUSINFO
, "IsInverted", false, new Value (false), Type::BOOL
);
268 DependencyProperty::Register (this, Type::STYLUSINFO
, "DeviceType", false, new Value (TabletDeviceTypeMouse
), Type::INT32
);
269 DependencyProperty::Register (this, Type::STYLE
, "TargetType", false, Type::MANAGEDTYPEINFO
);
270 DependencyProperty::RegisterFull (this, Type::STYLE
, "Setters", false, NULL
, Type::SETTERBASE_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
271 DependencyProperty::Register (this, Type::STYLE
, "IsSealed", false, new Value (false), Type::BOOL
);
272 DependencyProperty::RegisterFull (this, Type::STROKE
, "StylusPoints", false, NULL
, Type::STYLUSPOINT_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
273 DependencyProperty::RegisterFull (this, Type::STROKE
, "DrawingAttributes", false, NULL
, Type::DRAWINGATTRIBUTES
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
274 DependencyProperty::Register (this, Type::SETTERBASE
, "IsSealed", false, new Value (false), Type::BOOL
);
275 DependencyProperty::Register (this, Type::ROWDEFINITION
, "MinHeight", false, new Value (0.0), Type::DOUBLE
);
276 DependencyProperty::Register (this, Type::ROWDEFINITION
, "MaxHeight", false, new Value (INFINITY
), Type::DOUBLE
);
277 DependencyProperty::Register (this, Type::ROWDEFINITION
, "Height", false, new Value (GridLength (1.0, GridUnitTypeStar
)), Type::GRIDLENGTH
);
278 DependencyProperty::Register (this, Type::ROWDEFINITION
, "ActualHeight", false, new Value (0.0), Type::DOUBLE
);
279 DependencyProperty::Register (this, Type::PATHFIGURE
, "StartPoint", false, Type::POINT
);
280 DependencyProperty::RegisterFull (this, Type::PATHFIGURE
, "Segments", false, NULL
, Type::PATHSEGMENT_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
281 DependencyProperty::Register (this, Type::PATHFIGURE
, "IsFilled", false, new Value (true), Type::BOOL
);
282 DependencyProperty::Register (this, Type::PATHFIGURE
, "IsClosed", false, new Value (false), Type::BOOL
);
283 DependencyProperty::Register (this, Type::OUTOFBROWSERSETTINGS
, "EnableGPUAcceleration", false, new Value (true), Type::BOOL
);
284 DependencyProperty::RegisterFull (this, Type::OUTOFBROWSERSETTINGS
, "Blurb", false, new Value (""), Type::STRING
, false, false, false, NULL
, Validators::NonNullValidator
, NULL
, false);
285 DependencyProperty::RegisterFull (this, Type::NAMESCOPE
, "NameScope", false, NULL
, Type::NAMESCOPE
, true, false, false, NULL
, NULL
, NULL
, false);
286 DependencyProperty::Register (this, Type::MULTISCALESUBIMAGE
, "ZIndex", false, new Value (0), Type::INT32
);
287 DependencyProperty::Register (this, Type::MULTISCALESUBIMAGE
, "ViewportWidth", false, new Value (1.0), Type::DOUBLE
);
288 DependencyProperty::Register (this, Type::MULTISCALESUBIMAGE
, "ViewportOrigin", false, new Value (Point(0,0)), Type::POINT
);
289 DependencyProperty::Register (this, Type::MULTISCALESUBIMAGE
, "Opacity", false, new Value (1.0), Type::DOUBLE
);
290 DependencyProperty::RegisterFull (this, Type::MULTISCALESUBIMAGE
, "AspectRatio", false, new Value (1.0), Type::DOUBLE
, false, true, false, NULL
, NULL
, NULL
, false);
291 DependencyProperty::Register (this, Type::MEDIAATTRIBUTE
, "Value", false, Type::STRING
);
292 DependencyProperty::Register (this, Type::MATRIX
, "OffsetY", false, new Value (0.0), Type::DOUBLE
);
293 DependencyProperty::Register (this, Type::MATRIX
, "OffsetX", false, new Value (0.0), Type::DOUBLE
);
294 DependencyProperty::Register (this, Type::MATRIX
, "M22", false, new Value (1.0), Type::DOUBLE
);
295 DependencyProperty::Register (this, Type::MATRIX
, "M21", false, new Value (0.0), Type::DOUBLE
);
296 DependencyProperty::Register (this, Type::MATRIX
, "M12", false, new Value (0.0), Type::DOUBLE
);
297 DependencyProperty::Register (this, Type::MATRIX
, "M11", false, new Value (1.0), Type::DOUBLE
);
298 DependencyProperty::Register (this, Type::KEYSPLINE
, "ControlPoint2", false, new Value (Point (1.0, 1.0)), Type::POINT
);
299 DependencyProperty::Register (this, Type::KEYSPLINE
, "ControlPoint1", false, new Value (Point (0,0)), Type::POINT
);
300 DependencyProperty::RegisterFull (this, Type::INPUTMETHOD
, "IsInputMethodEnabled", false, new Value (true), Type::BOOL
, true, false, false, NULL
, Validators::IsInputMethodEnabledValidator
, NULL
, false);
301 DependencyProperty::Register (this, Type::INLINE
, "TextDecorations", false, new Value (TextDecorationsNone
), Type::INT32
);
302 DependencyProperty::RegisterFull (this, Type::INLINE
, "Language", false, new Value ("en-US"), Type::STRING
, false, false, false, NULL
, Validators::NonNullValidator
, NULL
, false);
303 DependencyProperty::Register (this, Type::INLINE
, "Foreground", false, Value::CreateUnrefPtr (new SolidColorBrush("black")), Type::BRUSH
);
304 DependencyProperty::Register (this, Type::INLINE
, "FontWeight", false, new Value (FontWeight(TEXTBLOCK_FONT_WEIGHT
)), Type::FONTWEIGHT
);
305 DependencyProperty::Register (this, Type::INLINE
, "FontStyle", false, new Value (FontStyle(TEXTBLOCK_FONT_STYLE
)), Type::FONTSTYLE
);
306 DependencyProperty::Register (this, Type::INLINE
, "FontStretch", false, new Value (FontStretch(TEXTBLOCK_FONT_STRETCH
)), Type::FONTSTRETCH
);
307 DependencyProperty::Register (this, Type::INLINE
, "FontSource", false, Type::FONTSOURCE
);
308 DependencyProperty::RegisterFull (this, Type::INLINE
, "FontSize", false, NULL
, Type::DOUBLE
, false, false, false, NULL
, NULL
, AutoCreators::CreateDefaultFontSize
, false);
309 DependencyProperty::Register (this, Type::INLINE
, "FontFamily", false, new Value (FontFamily(TEXTBLOCK_FONT_FAMILY
)), Type::FONTFAMILY
);
310 DependencyProperty::Register (this, Type::GRADIENTSTOP
, "Offset", false, new Value (0.0), Type::DOUBLE
);
311 DependencyProperty::Register (this, Type::GRADIENTSTOP
, "Color", false, new Value (Color (0x00000000)), Type::COLOR
);
312 DependencyProperty::RegisterFull (this, Type::EXTENSIONPART
, "Source", false, new Value (Uri()), Type::URI
, false, false, true, NULL
, NULL
, NULL
, false);
313 DependencyProperty::Register (this, Type::GEOMETRY
, "Transform", false, Type::TRANSFORM
);
314 DependencyProperty::Register (this, Type::DRAWINGATTRIBUTES
, "Width", false, new Value (3.0), Type::DOUBLE
);
315 DependencyProperty::Register (this, Type::DRAWINGATTRIBUTES
, "OutlineColor", false, new Value (Color (0x00000000)), Type::COLOR
);
316 DependencyProperty::Register (this, Type::DRAWINGATTRIBUTES
, "Height", false, new Value (3.0), Type::DOUBLE
);
317 DependencyProperty::Register (this, Type::DRAWINGATTRIBUTES
, "Color", false, new Value (Color (0xFF000000)), Type::COLOR
);
318 DependencyProperty::Register (this, Type::DOWNLOADER
, "Uri", false, Type::URI
);
319 DependencyProperty::Register (this, Type::DOWNLOADER
, "StatusText", false, new Value (""), Type::STRING
);
320 DependencyProperty::Register (this, Type::DOWNLOADER
, "Status", false, new Value (0), Type::INT32
);
321 DependencyProperty::Register (this, Type::DOWNLOADER
, "ResponseText", false, Type::STRING
);
322 DependencyProperty::Register (this, Type::DOWNLOADER
, "DownloadProgress", false, new Value (0.0), Type::DOUBLE
);
323 DependencyProperty::Register (this, Type::DEPLOYMENT
, "Surface", false, Type::SURFACE
);
324 DependencyProperty::Register (this, Type::DEPLOYMENT
, "RuntimeVersion", false, Type::STRING
);
325 DependencyProperty::Register (this, Type::DEPLOYMENT
, "Parts", false, Type::ASSEMBLYPART_COLLECTION
);
326 DependencyProperty::RegisterFull (this, Type::DEPLOYMENT
, "ExternalParts", false, NULL
, Type::EXTERNALPART_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
327 DependencyProperty::RegisterFull (this, Type::DEPLOYMENT
, "ExternalCallersFromCrossDomain", false, new Value (CrossDomainAccessNoAccess
), Type::INT32
, false, false, false, NULL
, Validators::CrossDomainValidator
, NULL
, false);
328 DependencyProperty::Register (this, Type::DEPLOYMENT
, "EntryPointType", false, Type::STRING
);
329 DependencyProperty::Register (this, Type::DEPLOYMENT
, "EntryPointAssembly", false, Type::STRING
);
330 DependencyProperty::Register (this, Type::MULTISCALETILESOURCE
, "TileWidth", false, Type::INT32
);
331 DependencyProperty::Register (this, Type::MULTISCALETILESOURCE
, "TileOverlap", false, Type::INT32
);
332 DependencyProperty::Register (this, Type::MULTISCALETILESOURCE
, "TileHeight", false, Type::INT32
);
333 DependencyProperty::Register (this, Type::MULTISCALETILESOURCE
, "TileBlendTime", false, new Value ((gint64
) TimeSpan_FromSecondsFloat (0.5),Type::TIMESPAN
), Type::TIMESPAN
);
334 DependencyProperty::Register (this, Type::MULTISCALETILESOURCE
, "ImageWidth", false, Type::DOUBLE
);
335 DependencyProperty::Register (this, Type::MULTISCALETILESOURCE
, "ImageHeight", false, Type::DOUBLE
);
336 DependencyProperty::Register (this, Type::COLUMNDEFINITION
, "Width", false, new Value (GridLength (1.0, GridUnitTypeStar
)), Type::GRIDLENGTH
);
337 DependencyProperty::Register (this, Type::COLUMNDEFINITION
, "MinWidth", false, new Value (0.0), Type::DOUBLE
);
338 DependencyProperty::Register (this, Type::COLUMNDEFINITION
, "MaxWidth", false, new Value (INFINITY
), Type::DOUBLE
);
339 DependencyProperty::Register (this, Type::COLUMNDEFINITION
, "ActualWidth", false, new Value (0.0), Type::DOUBLE
);
340 DependencyProperty::Register (this, Type::COLLECTION
, "Count", false, new Value (0), Type::INT32
);
341 DependencyProperty::Register (this, Type::UIELEMENT
, "Visibility", false, new Value (VisibilityVisible
), Type::INT32
);
342 DependencyProperty::Register (this, Type::UIELEMENT
, "UseLayoutRounding", false, new Value (true), Type::BOOL
);
343 DependencyProperty::RegisterFull (this, Type::UIELEMENT
, "Triggers", false, NULL
, Type::TRIGGER_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
344 DependencyProperty::Register (this, Type::UIELEMENT
, "Tag", true, Type::OBJECT
);
345 DependencyProperty::RegisterFull (this, Type::UIELEMENT
, "Resources", false, NULL
, Type::RESOURCE_DICTIONARY
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
346 DependencyProperty::Register (this, Type::UIELEMENT
, "RenderTransform", false, Type::TRANSFORM
);
347 DependencyProperty::Register (this, Type::UIELEMENT
, "RenderTransformOrigin", false, new Value (Point (0,0)), Type::POINT
);
348 DependencyProperty::Register (this, Type::UIELEMENT
, "Opacity", false, new Value (1.0), Type::DOUBLE
);
349 DependencyProperty::Register (this, Type::UIELEMENT
, "OpacityMask", false, Type::BRUSH
);
350 DependencyProperty::Register (this, Type::UIELEMENT
, "IsHitTestVisible", false, new Value (true), Type::BOOL
);
351 DependencyProperty::RegisterFull (this, Type::UIELEMENT
, "Cursor", false, new Value (MouseCursorDefault
), Type::INT32
, false, false, false, NULL
, Validators::CursorValidator
, NULL
, false);
352 DependencyProperty::Register (this, Type::UIELEMENT
, "Clip", false, Type::GEOMETRY
);
353 DependencyProperty::Register (this, Type::EASINGFUNCTIONBASE
, "EasingMode", false, new Value (EasingModeOut
), Type::INT32
);
354 DependencyProperty::Register (this, Type::ASSEMBLYPART
, "Source", false, new Value (""), Type::STRING
);
355 DependencyProperty::RegisterFull (this, Type::APPLICATION
, "Resources", false, NULL
, Type::RESOURCE_DICTIONARY
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
356 DependencyProperty::Register (this, Type::ACCESSIBILITY
, "Title", false, new Value ("Silverlight Content"), Type::STRING
);
357 DependencyProperty::Register (this, Type::ACCESSIBILITY
, "Description", false, new Value (""), Type::STRING
);
358 DependencyProperty::Register (this, Type::ACCESSIBILITY
, "ActionDescription", false, new Value (""), Type::STRING
);
359 DependencyProperty::RegisterFull (this, Type::SPLINECOLORKEYFRAME
, "KeySpline", false, NULL
, Type::KEYSPLINE
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
360 DependencyProperty::Register (this, Type::EASINGCOLORKEYFRAME
, "EasingFunction", false, Type::EASINGFUNCTIONBASE
);
361 DependencyProperty::RegisterFull (this, Type::COLORANIMATIONUSINGKEYFRAMES
, "KeyFrames", false, NULL
, Type::COLORKEYFRAME_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
362 DependencyProperty::RegisterFull (this, Type::BITMAPIMAGE
, "UriSource", false, new Value (Uri()), Type::URI
, false, false, true, NULL
, NULL
, NULL
, false);
363 DependencyProperty::Register (this, Type::BITMAPIMAGE
, "Progress", false, new Value (0.0), Type::DOUBLE
);
364 DependencyProperty::Register (this, Type::TRANSLATETRANSFORM
, "Y", false, new Value (0.0), Type::DOUBLE
);
365 DependencyProperty::Register (this, Type::TRANSLATETRANSFORM
, "X", false, new Value (0.0), Type::DOUBLE
);
366 DependencyProperty::RegisterFull (this, Type::TRANSFORMGROUP
, "Children", false, NULL
, Type::TRANSFORM_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
367 DependencyProperty::Register (this, Type::TEXTBOX
, "VerticalScrollBarVisibility", false, new Value (ScrollBarVisibilityHidden
), Type::INT32
);
368 DependencyProperty::Register (this, Type::TEXTBOX
, "TextWrapping", false, new Value (TextWrappingNoWrap
), Type::INT32
);
369 DependencyProperty::Register (this, Type::TEXTBOX
, "Text", false, Type::STRING
);
370 DependencyProperty::Register (this, Type::TEXTBOX
, "TextAlignment", false, new Value (TextAlignmentLeft
), Type::INT32
);
371 DependencyProperty::RegisterFull (this, Type::TEXTBOX
, "SelectionStart", false, new Value (0), Type::INT32
, false, false, true, NULL
, Validators::PositiveIntValidator
, NULL
, false);
372 DependencyProperty::RegisterFull (this, Type::TEXTBOX
, "SelectionLength", false, new Value (0), Type::INT32
, false, false, true, NULL
, Validators::PositiveIntValidator
, NULL
, false);
373 DependencyProperty::Register (this, Type::TEXTBOX
, "SelectionForeground", false, Type::BRUSH
);
374 DependencyProperty::Register (this, Type::TEXTBOX
, "SelectionBackground", false, Type::BRUSH
);
375 DependencyProperty::RegisterFull (this, Type::TEXTBOX
, "SelectedText", false, new Value (""), Type::STRING
, false, false, true, NULL
, NULL
, NULL
, false);
376 DependencyProperty::RegisterFull (this, Type::TEXTBOX
, "MaxLength", false, new Value (0), Type::INT32
, false, false, false, NULL
, Validators::PositiveIntValidator
, NULL
, false);
377 DependencyProperty::Register (this, Type::TEXTBOX
, "IsReadOnly", false, new Value (false), Type::BOOL
);
378 DependencyProperty::Register (this, Type::TEXTBOX
, "HorizontalScrollBarVisibility", false, new Value (ScrollBarVisibilityHidden
), Type::INT32
);
379 DependencyProperty::Register (this, Type::TEXTBOX
, "FontSource", false, Type::FONTSOURCE
);
380 DependencyProperty::Register (this, Type::TEXTBOX
, "CaretBrush", false, Value::CreateUnrefPtr (new SolidColorBrush("black")), Type::BRUSH
);
381 DependencyProperty::Register (this, Type::TEXTBOX
, "AcceptsReturn", false, new Value (false), Type::BOOL
);
382 DependencyProperty::RegisterFull (this, Type::STORYBOARD
, "TargetProperty", false, NULL
, Type::PROPERTYPATH
, true, false, false, NULL
, Validators::StoryboardTargetPropertyValidator
, NULL
, false);
383 DependencyProperty::RegisterFull (this, Type::STORYBOARD
, "TargetName", false, NULL
, Type::STRING
, true, false, false, NULL
, Validators::IsTimelineValidator
, NULL
, false);
384 DependencyProperty::Register (this, Type::SKEWTRANSFORM
, "CenterY", false, new Value (0.0), Type::DOUBLE
);
385 DependencyProperty::Register (this, Type::SKEWTRANSFORM
, "CenterX", false, new Value (0.0), Type::DOUBLE
);
386 DependencyProperty::Register (this, Type::SKEWTRANSFORM
, "AngleY", false, new Value (0.0), Type::DOUBLE
);
387 DependencyProperty::Register (this, Type::SKEWTRANSFORM
, "AngleX", false, new Value (0.0), Type::DOUBLE
);
388 DependencyProperty::Register (this, Type::SETTERBASE_COLLECTION
, "IsSealed", false, new Value (false), Type::BOOL
);
389 DependencyProperty::Register (this, Type::SCALETRANSFORM
, "ScaleY", false, new Value (1.0), Type::DOUBLE
);
390 DependencyProperty::Register (this, Type::SCALETRANSFORM
, "ScaleX", false, new Value (1.0), Type::DOUBLE
);
391 DependencyProperty::Register (this, Type::SCALETRANSFORM
, "CenterY", false, new Value (0.0), Type::DOUBLE
);
392 DependencyProperty::Register (this, Type::SCALETRANSFORM
, "CenterX", false, new Value (0.0), Type::DOUBLE
);
393 DependencyProperty::Register (this, Type::ROTATETRANSFORM
, "CenterY", false, new Value (0.0), Type::DOUBLE
);
394 DependencyProperty::Register (this, Type::ROTATETRANSFORM
, "CenterX", false, new Value (0.0), Type::DOUBLE
);
395 DependencyProperty::Register (this, Type::ROTATETRANSFORM
, "Angle", false, new Value (0.0), Type::DOUBLE
);
396 DependencyProperty::Register (this, Type::QUADRATICBEZIERSEGMENT
, "Point2", false, Type::POINT
);
397 DependencyProperty::Register (this, Type::QUADRATICBEZIERSEGMENT
, "Point1", false, Type::POINT
);
398 DependencyProperty::RegisterFull (this, Type::POLYQUADRATICBEZIERSEGMENT
, "Points", false, NULL
, Type::POINT_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
399 DependencyProperty::RegisterFull (this, Type::POLYLINESEGMENT
, "Points", false, NULL
, Type::POINT_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
400 DependencyProperty::RegisterFull (this, Type::POLYBEZIERSEGMENT
, "Points", false, NULL
, Type::POINT_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
401 DependencyProperty::RegisterFull (this, Type::POINTKEYFRAME
, "Value", false, NULL
, Type::POINT
, false, false, false, NULL
, NULL
, NULL
, true);
402 DependencyProperty::RegisterFull (this, Type::POINTKEYFRAME
, "KeyTime", false, NULL
, Type::KEYTIME
, false, false, false, NULL
, NULL
, NULL
, true);
403 DependencyProperty::RegisterFull (this, Type::POINTANIMATION
, "To", false, NULL
, Type::POINT
, false, false, false, NULL
, NULL
, NULL
, true);
404 DependencyProperty::RegisterFull (this, Type::POINTANIMATION
, "From", false, NULL
, Type::POINT
, false, false, false, NULL
, NULL
, NULL
, true);
405 DependencyProperty::Register (this, Type::POINTANIMATION
, "EasingFunction", false, Type::EASINGFUNCTIONBASE
);
406 DependencyProperty::RegisterFull (this, Type::POINTANIMATION
, "By", false, NULL
, Type::POINT
, false, false, false, NULL
, NULL
, NULL
, true);
407 DependencyProperty::RegisterFull (this, Type::PASSWORDBOX
, "SelectionStart", false, new Value (0), Type::INT32
, false, false, false, NULL
, Validators::PositiveIntValidator
, NULL
, false);
408 DependencyProperty::RegisterFull (this, Type::PASSWORDBOX
, "SelectionLength", false, new Value (0), Type::INT32
, false, false, false, NULL
, Validators::PositiveIntValidator
, NULL
, false);
409 DependencyProperty::Register (this, Type::PASSWORDBOX
, "SelectionForeground", false, Type::BRUSH
);
410 DependencyProperty::Register (this, Type::PASSWORDBOX
, "SelectionBackground", false, Type::BRUSH
);
411 DependencyProperty::Register (this, Type::PASSWORDBOX
, "SelectedText", false, new Value (""), Type::STRING
);
412 DependencyProperty::RegisterFull (this, Type::PASSWORDBOX
, "Password", false, new Value (""), Type::STRING
, false, false, true, NULL
, Validators::NonNullValidator
, NULL
, false);
413 DependencyProperty::Register (this, Type::PASSWORDBOX
, "PasswordChar", false, new Value ((gunichar
) 9679, Type::CHAR
), Type::CHAR
);
414 DependencyProperty::RegisterFull (this, Type::PASSWORDBOX
, "MaxLength", false, new Value (0), Type::INT32
, false, false, false, NULL
, Validators::PositiveIntValidator
, NULL
, false);
415 DependencyProperty::Register (this, Type::PASSWORDBOX
, "FontSource", false, Type::FONTSOURCE
);
416 DependencyProperty::Register (this, Type::PASSWORDBOX
, "CaretBrush", false, Value::CreateUnrefPtr (new SolidColorBrush("black")), Type::BRUSH
);
417 DependencyProperty::Register (this, Type::OBJECTKEYFRAME
, "Value", false, Type::OBJECT
);
418 DependencyProperty::RegisterFull (this, Type::OBJECTKEYFRAME
, "KeyTime", false, NULL
, Type::KEYTIME
, false, false, false, NULL
, NULL
, NULL
, true);
419 DependencyProperty::Register (this, Type::OBJECTKEYFRAME
, "ConvertedValue", false, Type::OBJECT
);
420 DependencyProperty::RegisterFull (this, Type::OBJECTANIMATIONUSINGKEYFRAMES
, "KeyFrames", false, NULL
, Type::OBJECTKEYFRAME_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
421 DependencyProperty::Register (this, Type::MATRIXTRANSFORM
, "Matrix", false, Type::MATRIX
);
422 DependencyProperty::Register (this, Type::LINESEGMENT
, "Point", false, Type::POINT
);
423 DependencyProperty::RegisterFull (this, Type::LAYOUTINFORMATION
, "VisualOffset", false, NULL
, Type::POINT
, true, false, false, NULL
, NULL
, NULL
, false);
424 DependencyProperty::RegisterFull (this, Type::LAYOUTINFORMATION
, "PreviousConstraint", false, NULL
, Type::SIZE
, true, false, false, NULL
, NULL
, NULL
, false);
425 DependencyProperty::RegisterFull (this, Type::LAYOUTINFORMATION
, "LayoutSlot", false, NULL
, Type::RECT
, true, false, false, NULL
, NULL
, NULL
, false);
426 DependencyProperty::RegisterFull (this, Type::LAYOUTINFORMATION
, "LayoutClip", false, NULL
, Type::GEOMETRY
, true, false, false, NULL
, NULL
, NULL
, false);
427 DependencyProperty::RegisterFull (this, Type::LAYOUTINFORMATION
, "LastRenderSize", false, NULL
, Type::SIZE
, true, false, false, NULL
, NULL
, NULL
, false);
428 DependencyProperty::RegisterFull (this, Type::LAYOUTINFORMATION
, "FinalRect", false, NULL
, Type::SIZE
, true, false, false, NULL
, NULL
, NULL
, false);
429 DependencyProperty::Register (this, Type::EVENTTRIGGER
, "RoutedEvent", false, Type::STRING
);
430 DependencyProperty::RegisterFull (this, Type::EVENTTRIGGER
, "Actions", false, NULL
, Type::TRIGGERACTION_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
431 DependencyProperty::RegisterFull (this, Type::DOUBLEKEYFRAME
, "Value", false, NULL
, Type::DOUBLE
, false, false, false, NULL
, NULL
, NULL
, true);
432 DependencyProperty::RegisterFull (this, Type::DOUBLEKEYFRAME
, "KeyTime", false, NULL
, Type::KEYTIME
, false, false, false, NULL
, NULL
, NULL
, true);
433 DependencyProperty::RegisterFull (this, Type::DOUBLEANIMATION
, "To", false, NULL
, Type::DOUBLE
, false, false, false, NULL
, NULL
, NULL
, true);
434 DependencyProperty::RegisterFull (this, Type::DOUBLEANIMATION
, "From", false, NULL
, Type::DOUBLE
, false, false, false, NULL
, NULL
, NULL
, true);
435 DependencyProperty::Register (this, Type::DOUBLEANIMATION
, "EasingFunction", false, Type::EASINGFUNCTIONBASE
);
436 DependencyProperty::RegisterFull (this, Type::DOUBLEANIMATION
, "By", false, NULL
, Type::DOUBLE
, false, false, false, NULL
, NULL
, NULL
, true);
437 DependencyProperty::RegisterFull (this, Type::DEPENDENCY_OBJECT
, "Name", false, new Value (""), Type::STRING
, false, false, false, NULL
, Validators::NameValidator
, NULL
, false);
438 DependencyProperty::Register (this, Type::CONTROLTEMPLATE
, "TargetType", false, Type::MANAGEDTYPEINFO
);
439 DependencyProperty::RegisterFull (this, Type::COLORKEYFRAME
, "Value", false, NULL
, Type::COLOR
, false, false, false, NULL
, NULL
, NULL
, true);
440 DependencyProperty::RegisterFull (this, Type::COLORKEYFRAME
, "KeyTime", false, NULL
, Type::KEYTIME
, false, false, false, NULL
, NULL
, NULL
, true);
441 DependencyProperty::RegisterFull (this, Type::COLORANIMATION
, "To", false, NULL
, Type::COLOR
, false, false, false, NULL
, NULL
, NULL
, true);
442 DependencyProperty::RegisterFull (this, Type::COLORANIMATION
, "From", false, NULL
, Type::COLOR
, false, false, false, NULL
, NULL
, NULL
, true);
443 DependencyProperty::Register (this, Type::COLORANIMATION
, "EasingFunction", false, Type::EASINGFUNCTIONBASE
);
444 DependencyProperty::RegisterFull (this, Type::COLORANIMATION
, "By", false, NULL
, Type::COLOR
, false, false, false, NULL
, NULL
, NULL
, true);
445 DependencyProperty::RegisterFull (this, Type::BITMAPSOURCE
, "PixelWidth", false, new Value (0), Type::INT32
, false, false, false, NULL
, Validators::IntGreaterThanZeroValidator
, NULL
, false);
446 DependencyProperty::RegisterFull (this, Type::BITMAPSOURCE
, "PixelHeight", false, new Value (0), Type::INT32
, false, false, false, NULL
, Validators::IntGreaterThanZeroValidator
, NULL
, false);
447 DependencyProperty::Register (this, Type::BITMAPSOURCE
, "PixelFormat", false, new Value (PixelFormatPbgra32
), Type::INT32
);
448 DependencyProperty::Register (this, Type::BEZIERSEGMENT
, "Point3", false, Type::POINT
);
449 DependencyProperty::Register (this, Type::BEZIERSEGMENT
, "Point2", false, Type::POINT
);
450 DependencyProperty::Register (this, Type::BEZIERSEGMENT
, "Point1", false, Type::POINT
);
451 DependencyProperty::Register (this, Type::BEGINSTORYBOARD
, "Storyboard", false, Type::STORYBOARD
);
452 DependencyProperty::Register (this, Type::ARCSEGMENT
, "SweepDirection", false, new Value (SweepDirectionCounterclockwise
), Type::INT32
);
453 DependencyProperty::Register (this, Type::ARCSEGMENT
, "Size", false, Type::SIZE
);
454 DependencyProperty::Register (this, Type::ARCSEGMENT
, "RotationAngle", false, new Value (0.0), Type::DOUBLE
);
455 DependencyProperty::Register (this, Type::ARCSEGMENT
, "Point", false, Type::POINT
);
456 DependencyProperty::Register (this, Type::ARCSEGMENT
, "IsLargeArc", false, new Value (false), Type::BOOL
);
459 const int VisualBrush::VisualProperty
= 0;
460 const int VideoBrush::SourceNameProperty
= 1;
461 const int ImageBrush::ImageSourceProperty
= 2;
462 const int ImageBrush::DownloadProgressProperty
= 3;
463 const int RadialGradientBrush::RadiusYProperty
= 4;
464 const int RadialGradientBrush::RadiusXProperty
= 5;
465 const int RadialGradientBrush::GradientOriginProperty
= 6;
466 const int RadialGradientBrush::CenterProperty
= 7;
467 const int LinearGradientBrush::StartPointProperty
= 8;
468 const int LinearGradientBrush::EndPointProperty
= 9;
469 const int SolidColorBrush::ColorProperty
= 10;
470 const int TileBrush::StretchProperty
= 11;
471 const int TileBrush::AlignmentYProperty
= 12;
472 const int TileBrush::AlignmentXProperty
= 13;
473 const int GradientBrush::SpreadMethodProperty
= 14;
474 const int GradientBrush::MappingModeProperty
= 15;
475 const int GradientBrush::GradientStopsProperty
= 16;
476 const int GradientBrush::ColorInterpolationModeProperty
= 17;
477 const int InkPresenter::StrokesProperty
= 18;
478 const int Brush::TransformProperty
= 19;
479 const int Brush::RelativeTransformProperty
= 20;
480 const int Brush::OpacityProperty
= 21;
481 const int Brush::ChangedProperty
= 22;
482 const int Rectangle::RadiusYProperty
= 23;
483 const int Rectangle::RadiusXProperty
= 24;
484 const int Polyline::PointsProperty
= 25;
485 const int Polyline::FillRuleProperty
= 26;
486 const int Polygon::PointsProperty
= 27;
487 const int Polygon::FillRuleProperty
= 28;
488 const int Path::DataProperty
= 29;
489 const int Line::Y2Property
= 30;
490 const int Line::Y1Property
= 31;
491 const int Line::X2Property
= 32;
492 const int Line::X1Property
= 33;
493 const int MultiScaleImage::ViewportWidthProperty
= 34;
494 const int MultiScaleImage::ViewportOriginProperty
= 35;
495 const int MultiScaleImage::UseSpringsProperty
= 36;
496 const int MultiScaleImage::TileFadeProperty
= 37;
497 const int MultiScaleImage::SubImagesProperty
= 38;
498 const int MultiScaleImage::SourceProperty
= 39;
499 const int MultiScaleImage::IsIdleProperty
= 40;
500 const int MultiScaleImage::IsDownloadingProperty
= 41;
501 const int MultiScaleImage::InternalViewportWidthProperty
= 42;
502 const int MultiScaleImage::InternalViewportOriginProperty
= 43;
503 const int MultiScaleImage::BlurFactorProperty
= 44;
504 const int MultiScaleImage::AspectRatioProperty
= 45;
505 const int MultiScaleImage::AllowDownloadingProperty
= 46;
506 const int Image::SourceProperty
= 47;
507 const int UserControl::ContentProperty
= 48;
508 const int ContentControl::ContentTemplateProperty
= 49;
509 const int ContentControl::ContentProperty
= 50;
510 const int Grid::ShowGridLinesProperty
= 51;
511 const int Grid::RowSpanProperty
= 52;
512 const int Grid::RowProperty
= 53;
513 const int Grid::RowDefinitionsProperty
= 54;
514 const int Grid::ColumnSpanProperty
= 55;
515 const int Grid::ColumnProperty
= 56;
516 const int Grid::ColumnDefinitionsProperty
= 57;
517 const int Canvas::ZIndexProperty
= 58;
518 const int Canvas::TopProperty
= 59;
519 const int Canvas::LeftProperty
= 60;
520 const int TextBlock::TextWrappingProperty
= 61;
521 const int TextBlock::TextProperty
= 62;
522 const int TextBlock::TextDecorationsProperty
= 63;
523 const int TextBlock::TextAlignmentProperty
= 64;
524 const int TextBlock::PaddingProperty
= 65;
525 const int TextBlock::LineStackingStrategyProperty
= 66;
526 const int TextBlock::LineHeightProperty
= 67;
527 const int TextBlock::InlinesProperty
= 68;
528 const int TextBlock::ForegroundProperty
= 69;
529 const int TextBlock::FontWeightProperty
= 70;
530 const int TextBlock::FontStyleProperty
= 71;
531 const int TextBlock::FontStretchProperty
= 72;
532 const int TextBlock::FontSourceProperty
= 73;
533 const int TextBlock::FontSizeProperty
= 74;
534 const int TextBlock::FontFamilyProperty
= 75;
535 const int Popup::VerticalOffsetProperty
= 76;
536 const int Popup::IsOpenProperty
= 77;
537 const int Popup::HorizontalOffsetProperty
= 78;
538 const int Popup::ChildProperty
= 79;
539 const int MediaElement::VolumeProperty
= 80;
540 const int MediaElement::StretchProperty
= 81;
541 const int MediaElement::SourceProperty
= 82;
542 const int MediaElement::RenderedFramesPerSecondProperty
= 83;
543 const int MediaElement::PositionProperty
= 84;
544 const int MediaElement::NaturalVideoWidthProperty
= 85;
545 const int MediaElement::NaturalVideoHeightProperty
= 86;
546 const int MediaElement::NaturalDurationProperty
= 87;
547 const int MediaElement::MarkersProperty
= 88;
548 const int MediaElement::IsMutedProperty
= 89;
549 const int MediaElement::DroppedFramesPerSecondProperty
= 90;
550 const int MediaElement::DownloadProgressProperty
= 91;
551 const int MediaElement::DownloadProgressOffsetProperty
= 92;
552 const int MediaElement::CurrentStateProperty
= 93;
553 const int MediaElement::CanSeekProperty
= 94;
554 const int MediaElement::CanPauseProperty
= 95;
555 const int MediaElement::BufferingTimeProperty
= 96;
556 const int MediaElement::BufferingProgressProperty
= 97;
557 const int MediaElement::BalanceProperty
= 98;
558 const int MediaElement::AutoPlayProperty
= 99;
559 const int MediaElement::AudioStreamIndexProperty
= 100;
560 const int MediaElement::AudioStreamCountProperty
= 101;
561 const int MediaElement::AttributesProperty
= 102;
562 const int Shape::StrokeThicknessProperty
= 103;
563 const int Shape::StrokeStartLineCapProperty
= 104;
564 const int Shape::StrokeProperty
= 105;
565 const int Shape::StrokeMiterLimitProperty
= 106;
566 const int Shape::StrokeLineJoinProperty
= 107;
567 const int Shape::StrokeEndLineCapProperty
= 108;
568 const int Shape::StrokeDashOffsetProperty
= 109;
569 const int Shape::StrokeDashCapProperty
= 110;
570 const int Shape::StrokeDashArrayProperty
= 111;
571 const int Shape::StretchProperty
= 112;
572 const int Shape::FillProperty
= 113;
573 const int MediaBase::StretchProperty
= 114;
574 const int MediaBase::SourceProperty
= 115;
575 const int MediaBase::DownloadProgressProperty
= 116;
576 const int Glyphs::UnicodeStringProperty
= 117;
577 const int Glyphs::StyleSimulationsProperty
= 118;
578 const int Glyphs::OriginYProperty
= 119;
579 const int Glyphs::OriginXProperty
= 120;
580 const int Glyphs::IndicesProperty
= 121;
581 const int Glyphs::FontUriProperty
= 122;
582 const int Glyphs::FontRenderingEmSizeProperty
= 123;
583 const int Glyphs::FillProperty
= 124;
584 const int Control::VerticalContentAlignmentProperty
= 125;
585 const int Control::TemplateProperty
= 126;
586 const int Control::TabNavigationProperty
= 127;
587 const int Control::TabIndexProperty
= 128;
588 const int Control::PaddingProperty
= 129;
589 const int Control::IsTemplateItemProperty
= 130;
590 const int Control::IsTabStopProperty
= 131;
591 const int Control::IsEnabledProperty
= 132;
592 const int Control::HorizontalContentAlignmentProperty
= 133;
593 const int Control::ForegroundProperty
= 134;
594 const int Control::FontWeightProperty
= 135;
595 const int Control::FontStyleProperty
= 136;
596 const int Control::FontStretchProperty
= 137;
597 const int Control::FontSizeProperty
= 138;
598 const int Control::FontFamilyProperty
= 139;
599 const int Control::DefaultStyleKeyProperty
= 140;
600 const int Control::BorderThicknessProperty
= 141;
601 const int Control::BorderBrushProperty
= 142;
602 const int Control::BackgroundProperty
= 143;
603 const int Panel::ChildrenProperty
= 144;
604 const int Panel::BackgroundProperty
= 145;
605 const int Border::PaddingProperty
= 146;
606 const int Border::CornerRadiusProperty
= 147;
607 const int Border::ChildProperty
= 148;
608 const int Border::BorderThicknessProperty
= 149;
609 const int Border::BorderBrushProperty
= 150;
610 const int Border::BackgroundProperty
= 151;
611 const int TimelineGroup::ChildrenProperty
= 152;
612 const int Setter::ValueProperty
= 153;
613 const int Setter::PropertyProperty
= 154;
614 const int Setter::ConvertedValueProperty
= 155;
615 const int Run::TextProperty
= 156;
616 const int RectangleGeometry::RectProperty
= 157;
617 const int RectangleGeometry::RadiusYProperty
= 158;
618 const int RectangleGeometry::RadiusXProperty
= 159;
619 const int PathGeometry::FillRuleProperty
= 160;
620 const int PathGeometry::FiguresProperty
= 161;
621 const int LineGeometry::StartPointProperty
= 162;
622 const int LineGeometry::EndPointProperty
= 163;
623 const int GeometryGroup::FillRuleProperty
= 164;
624 const int GeometryGroup::ChildrenProperty
= 165;
625 const int EllipseGeometry::RadiusYProperty
= 166;
626 const int EllipseGeometry::RadiusXProperty
= 167;
627 const int EllipseGeometry::CenterProperty
= 168;
628 const int DeepZoomImageTileSource::UriSourceProperty
= 169;
629 const int ResourceDictionary::MergedDictionariesProperty
= 170;
630 const int FrameworkElement::WidthProperty
= 171;
631 const int FrameworkElement::VerticalAlignmentProperty
= 172;
632 const int FrameworkElement::StyleProperty
= 173;
633 const int FrameworkElement::MinWidthProperty
= 174;
634 const int FrameworkElement::MinHeightProperty
= 175;
635 const int FrameworkElement::MaxWidthProperty
= 176;
636 const int FrameworkElement::MaxHeightProperty
= 177;
637 const int FrameworkElement::MarginProperty
= 178;
638 const int FrameworkElement::LanguageProperty
= 179;
639 const int FrameworkElement::HorizontalAlignmentProperty
= 180;
640 const int FrameworkElement::HeightProperty
= 181;
641 const int FrameworkElement::DataContextProperty
= 182;
642 const int FrameworkElement::ActualWidthProperty
= 183;
643 const int FrameworkElement::ActualHeightProperty
= 184;
644 const int PowerEase::PowerProperty
= 185;
645 const int ExponentialEase::ExponentProperty
= 186;
646 const int ElasticEase::SpringinessProperty
= 187;
647 const int ElasticEase::OscillationsProperty
= 188;
648 const int BounceEase::BouncinessProperty
= 189;
649 const int BounceEase::BouncesProperty
= 190;
650 const int BackEase::AmplitudeProperty
= 191;
651 const int SplinePointKeyFrame::KeySplineProperty
= 192;
652 const int EasingPointKeyFrame::EasingFunctionProperty
= 193;
653 const int PointAnimationUsingKeyFrames::KeyFramesProperty
= 194;
654 const int SplineDoubleKeyFrame::KeySplineProperty
= 195;
655 const int EasingDoubleKeyFrame::EasingFunctionProperty
= 196;
656 const int DoubleAnimationUsingKeyFrames::KeyFramesProperty
= 197;
657 const int TimelineMarker::TypeProperty
= 198;
658 const int TimelineMarker::TimeProperty
= 199;
659 const int TimelineMarker::TextProperty
= 200;
660 const int Timeline::SpeedRatioProperty
= 201;
661 const int Timeline::RepeatBehaviorProperty
= 202;
662 const int Timeline::FillBehaviorProperty
= 203;
663 const int Timeline::DurationProperty
= 204;
664 const int Timeline::BeginTimeProperty
= 205;
665 const int Timeline::AutoReverseProperty
= 206;
666 const int StylusPoint::YProperty
= 207;
667 const int StylusPoint::XProperty
= 208;
668 const int StylusPoint::PressureFactorProperty
= 209;
669 const int StylusInfo::IsInvertedProperty
= 210;
670 const int StylusInfo::DeviceTypeProperty
= 211;
671 const int Style::TargetTypeProperty
= 212;
672 const int Style::SettersProperty
= 213;
673 const int Style::IsSealedProperty
= 214;
674 const int Stroke::StylusPointsProperty
= 215;
675 const int Stroke::DrawingAttributesProperty
= 216;
676 const int SetterBase::IsSealedProperty
= 217;
677 const int RowDefinition::MinHeightProperty
= 218;
678 const int RowDefinition::MaxHeightProperty
= 219;
679 const int RowDefinition::HeightProperty
= 220;
680 const int RowDefinition::ActualHeightProperty
= 221;
681 const int PathFigure::StartPointProperty
= 222;
682 const int PathFigure::SegmentsProperty
= 223;
683 const int PathFigure::IsFilledProperty
= 224;
684 const int PathFigure::IsClosedProperty
= 225;
685 const int OutOfBrowserSettings::EnableGPUAccelerationProperty
= 226;
686 const int OutOfBrowserSettings::BlurbProperty
= 227;
687 const int NameScope::NameScopeProperty
= 228;
688 const int MultiScaleSubImage::ZIndexProperty
= 229;
689 const int MultiScaleSubImage::ViewportWidthProperty
= 230;
690 const int MultiScaleSubImage::ViewportOriginProperty
= 231;
691 const int MultiScaleSubImage::OpacityProperty
= 232;
692 const int MultiScaleSubImage::AspectRatioProperty
= 233;
693 const int MediaAttribute::ValueProperty
= 234;
694 const int Matrix::OffsetYProperty
= 235;
695 const int Matrix::OffsetXProperty
= 236;
696 const int Matrix::M22Property
= 237;
697 const int Matrix::M21Property
= 238;
698 const int Matrix::M12Property
= 239;
699 const int Matrix::M11Property
= 240;
700 const int KeySpline::ControlPoint2Property
= 241;
701 const int KeySpline::ControlPoint1Property
= 242;
702 const int InputMethod::IsInputMethodEnabledProperty
= 243;
703 const int Inline::TextDecorationsProperty
= 244;
704 const int Inline::LanguageProperty
= 245;
705 const int Inline::ForegroundProperty
= 246;
706 const int Inline::FontWeightProperty
= 247;
707 const int Inline::FontStyleProperty
= 248;
708 const int Inline::FontStretchProperty
= 249;
709 const int Inline::FontSourceProperty
= 250;
710 const int Inline::FontSizeProperty
= 251;
711 const int Inline::FontFamilyProperty
= 252;
712 const int GradientStop::OffsetProperty
= 253;
713 const int GradientStop::ColorProperty
= 254;
714 const int ExtensionPart::SourceProperty
= 255;
715 const int Geometry::TransformProperty
= 256;
716 const int DrawingAttributes::WidthProperty
= 257;
717 const int DrawingAttributes::OutlineColorProperty
= 258;
718 const int DrawingAttributes::HeightProperty
= 259;
719 const int DrawingAttributes::ColorProperty
= 260;
720 const int Downloader::UriProperty
= 261;
721 const int Downloader::StatusTextProperty
= 262;
722 const int Downloader::StatusProperty
= 263;
723 const int Downloader::ResponseTextProperty
= 264;
724 const int Downloader::DownloadProgressProperty
= 265;
725 const int Deployment::SurfaceProperty
= 266;
726 const int Deployment::RuntimeVersionProperty
= 267;
727 const int Deployment::PartsProperty
= 268;
728 const int Deployment::ExternalPartsProperty
= 269;
729 const int Deployment::ExternalCallersFromCrossDomainProperty
= 270;
730 const int Deployment::EntryPointTypeProperty
= 271;
731 const int Deployment::EntryPointAssemblyProperty
= 272;
732 const int MultiScaleTileSource::TileWidthProperty
= 273;
733 const int MultiScaleTileSource::TileOverlapProperty
= 274;
734 const int MultiScaleTileSource::TileHeightProperty
= 275;
735 const int MultiScaleTileSource::TileBlendTimeProperty
= 276;
736 const int MultiScaleTileSource::ImageWidthProperty
= 277;
737 const int MultiScaleTileSource::ImageHeightProperty
= 278;
738 const int ColumnDefinition::WidthProperty
= 279;
739 const int ColumnDefinition::MinWidthProperty
= 280;
740 const int ColumnDefinition::MaxWidthProperty
= 281;
741 const int ColumnDefinition::ActualWidthProperty
= 282;
742 const int Collection::CountProperty
= 283;
743 const int UIElement::VisibilityProperty
= 284;
744 const int UIElement::UseLayoutRoundingProperty
= 285;
745 const int UIElement::TriggersProperty
= 286;
746 const int UIElement::TagProperty
= 287;
747 const int UIElement::ResourcesProperty
= 288;
748 const int UIElement::RenderTransformProperty
= 289;
749 const int UIElement::RenderTransformOriginProperty
= 290;
750 const int UIElement::OpacityProperty
= 291;
751 const int UIElement::OpacityMaskProperty
= 292;
752 const int UIElement::IsHitTestVisibleProperty
= 293;
753 const int UIElement::CursorProperty
= 294;
754 const int UIElement::ClipProperty
= 295;
755 const int EasingFunctionBase::EasingModeProperty
= 296;
756 const int AssemblyPart::SourceProperty
= 297;
757 const int Application::ResourcesProperty
= 298;
758 const int Accessibility::TitleProperty
= 299;
759 const int Accessibility::DescriptionProperty
= 300;
760 const int Accessibility::ActionDescriptionProperty
= 301;
761 const int SplineColorKeyFrame::KeySplineProperty
= 302;
762 const int EasingColorKeyFrame::EasingFunctionProperty
= 303;
763 const int ColorAnimationUsingKeyFrames::KeyFramesProperty
= 304;
764 const int BitmapImage::UriSourceProperty
= 305;
765 const int BitmapImage::ProgressProperty
= 306;
766 const int TranslateTransform::YProperty
= 307;
767 const int TranslateTransform::XProperty
= 308;
768 const int TransformGroup::ChildrenProperty
= 309;
769 const int TextBox::VerticalScrollBarVisibilityProperty
= 310;
770 const int TextBox::TextWrappingProperty
= 311;
771 const int TextBox::TextProperty
= 312;
772 const int TextBox::TextAlignmentProperty
= 313;
773 const int TextBox::SelectionStartProperty
= 314;
774 const int TextBox::SelectionLengthProperty
= 315;
775 const int TextBox::SelectionForegroundProperty
= 316;
776 const int TextBox::SelectionBackgroundProperty
= 317;
777 const int TextBox::SelectedTextProperty
= 318;
778 const int TextBox::MaxLengthProperty
= 319;
779 const int TextBox::IsReadOnlyProperty
= 320;
780 const int TextBox::HorizontalScrollBarVisibilityProperty
= 321;
781 const int TextBox::FontSourceProperty
= 322;
782 const int TextBox::CaretBrushProperty
= 323;
783 const int TextBox::AcceptsReturnProperty
= 324;
784 const int Storyboard::TargetPropertyProperty
= 325;
785 const int Storyboard::TargetNameProperty
= 326;
786 const int SkewTransform::CenterYProperty
= 327;
787 const int SkewTransform::CenterXProperty
= 328;
788 const int SkewTransform::AngleYProperty
= 329;
789 const int SkewTransform::AngleXProperty
= 330;
790 const int SetterBaseCollection::IsSealedProperty
= 331;
791 const int ScaleTransform::ScaleYProperty
= 332;
792 const int ScaleTransform::ScaleXProperty
= 333;
793 const int ScaleTransform::CenterYProperty
= 334;
794 const int ScaleTransform::CenterXProperty
= 335;
795 const int RotateTransform::CenterYProperty
= 336;
796 const int RotateTransform::CenterXProperty
= 337;
797 const int RotateTransform::AngleProperty
= 338;
798 const int QuadraticBezierSegment::Point2Property
= 339;
799 const int QuadraticBezierSegment::Point1Property
= 340;
800 const int PolyQuadraticBezierSegment::PointsProperty
= 341;
801 const int PolyLineSegment::PointsProperty
= 342;
802 const int PolyBezierSegment::PointsProperty
= 343;
803 const int PointKeyFrame::ValueProperty
= 344;
804 const int PointKeyFrame::KeyTimeProperty
= 345;
805 const int PointAnimation::ToProperty
= 346;
806 const int PointAnimation::FromProperty
= 347;
807 const int PointAnimation::EasingFunctionProperty
= 348;
808 const int PointAnimation::ByProperty
= 349;
809 const int PasswordBox::SelectionStartProperty
= 350;
810 const int PasswordBox::SelectionLengthProperty
= 351;
811 const int PasswordBox::SelectionForegroundProperty
= 352;
812 const int PasswordBox::SelectionBackgroundProperty
= 353;
813 const int PasswordBox::SelectedTextProperty
= 354;
814 const int PasswordBox::PasswordProperty
= 355;
815 const int PasswordBox::PasswordCharProperty
= 356;
816 const int PasswordBox::MaxLengthProperty
= 357;
817 const int PasswordBox::FontSourceProperty
= 358;
818 const int PasswordBox::CaretBrushProperty
= 359;
819 const int ObjectKeyFrame::ValueProperty
= 360;
820 const int ObjectKeyFrame::KeyTimeProperty
= 361;
821 const int ObjectKeyFrame::ConvertedValueProperty
= 362;
822 const int ObjectAnimationUsingKeyFrames::KeyFramesProperty
= 363;
823 const int MatrixTransform::MatrixProperty
= 364;
824 const int LineSegment::PointProperty
= 365;
825 const int LayoutInformation::VisualOffsetProperty
= 366;
826 const int LayoutInformation::PreviousConstraintProperty
= 367;
827 const int LayoutInformation::LayoutSlotProperty
= 368;
828 const int LayoutInformation::LayoutClipProperty
= 369;
829 const int LayoutInformation::LastRenderSizeProperty
= 370;
830 const int LayoutInformation::FinalRectProperty
= 371;
831 const int EventTrigger::RoutedEventProperty
= 372;
832 const int EventTrigger::ActionsProperty
= 373;
833 const int DoubleKeyFrame::ValueProperty
= 374;
834 const int DoubleKeyFrame::KeyTimeProperty
= 375;
835 const int DoubleAnimation::ToProperty
= 376;
836 const int DoubleAnimation::FromProperty
= 377;
837 const int DoubleAnimation::EasingFunctionProperty
= 378;
838 const int DoubleAnimation::ByProperty
= 379;
839 const int DependencyObject::NameProperty
= 380;
840 const int ControlTemplate::TargetTypeProperty
= 381;
841 const int ColorKeyFrame::ValueProperty
= 382;
842 const int ColorKeyFrame::KeyTimeProperty
= 383;
843 const int ColorAnimation::ToProperty
= 384;
844 const int ColorAnimation::FromProperty
= 385;
845 const int ColorAnimation::EasingFunctionProperty
= 386;
846 const int ColorAnimation::ByProperty
= 387;
847 const int BitmapSource::PixelWidthProperty
= 388;
848 const int BitmapSource::PixelHeightProperty
= 389;
849 const int BitmapSource::PixelFormatProperty
= 390;
850 const int BezierSegment::Point3Property
= 391;
851 const int BezierSegment::Point2Property
= 392;
852 const int BezierSegment::Point1Property
= 393;
853 const int BeginStoryboard::StoryboardProperty
= 394;
854 const int ArcSegment::SweepDirectionProperty
= 395;
855 const int ArcSegment::SizeProperty
= 396;
856 const int ArcSegment::RotationAngleProperty
= 397;
857 const int ArcSegment::PointProperty
= 398;
858 const int ArcSegment::IsLargeArcProperty
= 399;
861 VisualBrush::GetVisual ()
863 Value
*value
= GetValue (VisualBrush::VisualProperty
);
864 return value
? value
->AsUIElement () : NULL
;
868 VisualBrush::SetVisual (UIElement
*value
)
870 SetValue (VisualBrush::VisualProperty
, Value::CreateUnrefPtr (value
));
874 VideoBrush::GetSourceName ()
876 Value
*value
= GetValue (VideoBrush::SourceNameProperty
);
877 return value
? value
->AsString () : NULL
;
881 VideoBrush::SetSourceName (const char *value
)
883 SetValue (VideoBrush::SourceNameProperty
, Value (value
));
887 ImageBrush::GetImageSource ()
889 Value
*value
= GetValue (ImageBrush::ImageSourceProperty
);
890 return value
? value
->AsImageSource () : NULL
;
894 ImageBrush::SetImageSource (ImageSource
*value
)
896 SetValue (ImageBrush::ImageSourceProperty
, Value::CreateUnrefPtr (value
));
900 ImageBrush::GetDownloadProgress ()
902 Value
*value
= GetValue (ImageBrush::DownloadProgressProperty
);
903 return value
->AsDouble ();
907 ImageBrush::SetDownloadProgress (double value
)
909 SetValue (ImageBrush::DownloadProgressProperty
, Value (value
));
913 RadialGradientBrush::GetRadiusY ()
915 Value
*value
= GetValue (RadialGradientBrush::RadiusYProperty
);
916 return value
->AsDouble ();
920 RadialGradientBrush::SetRadiusY (double value
)
922 SetValue (RadialGradientBrush::RadiusYProperty
, Value (value
));
926 RadialGradientBrush::GetRadiusX ()
928 Value
*value
= GetValue (RadialGradientBrush::RadiusXProperty
);
929 return value
->AsDouble ();
933 RadialGradientBrush::SetRadiusX (double value
)
935 SetValue (RadialGradientBrush::RadiusXProperty
, Value (value
));
939 RadialGradientBrush::GetGradientOrigin ()
941 Value
*value
= GetValue (RadialGradientBrush::GradientOriginProperty
);
942 return value
? value
->AsPoint () : NULL
;
946 RadialGradientBrush::SetGradientOrigin (Point
*value
)
949 SetValue (RadialGradientBrush::GradientOriginProperty
, Value (*value
));
953 RadialGradientBrush::GetCenter ()
955 Value
*value
= GetValue (RadialGradientBrush::CenterProperty
);
956 return value
? value
->AsPoint () : NULL
;
960 RadialGradientBrush::SetCenter (Point
*value
)
963 SetValue (RadialGradientBrush::CenterProperty
, Value (*value
));
967 LinearGradientBrush::GetStartPoint ()
969 Value
*value
= GetValue (LinearGradientBrush::StartPointProperty
);
970 return value
? value
->AsPoint () : NULL
;
974 LinearGradientBrush::SetStartPoint (Point
*value
)
977 SetValue (LinearGradientBrush::StartPointProperty
, Value (*value
));
981 LinearGradientBrush::GetEndPoint ()
983 Value
*value
= GetValue (LinearGradientBrush::EndPointProperty
);
984 return value
? value
->AsPoint () : NULL
;
988 LinearGradientBrush::SetEndPoint (Point
*value
)
991 SetValue (LinearGradientBrush::EndPointProperty
, Value (*value
));
995 SolidColorBrush::GetColor ()
997 Value
*value
= GetValue (SolidColorBrush::ColorProperty
);
998 return value
? value
->AsColor () : NULL
;
1002 SolidColorBrush::SetColor (Color
*value
)
1005 SetValue (SolidColorBrush::ColorProperty
, Value (*value
));
1009 TileBrush::GetStretch ()
1011 Value
*value
= GetValue (TileBrush::StretchProperty
);
1012 return (Stretch
) value
->AsInt32 ();
1016 TileBrush::SetStretch (Stretch value
)
1018 SetValue (TileBrush::StretchProperty
, Value (value
));
1022 TileBrush::GetAlignmentY ()
1024 Value
*value
= GetValue (TileBrush::AlignmentYProperty
);
1025 return (AlignmentY
) value
->AsInt32 ();
1029 TileBrush::SetAlignmentY (AlignmentY value
)
1031 SetValue (TileBrush::AlignmentYProperty
, Value (value
));
1035 TileBrush::GetAlignmentX ()
1037 Value
*value
= GetValue (TileBrush::AlignmentXProperty
);
1038 return (AlignmentX
) value
->AsInt32 ();
1042 TileBrush::SetAlignmentX (AlignmentX value
)
1044 SetValue (TileBrush::AlignmentXProperty
, Value (value
));
1047 GradientSpreadMethod
1048 GradientBrush::GetSpreadMethod ()
1050 Value
*value
= GetValue (GradientBrush::SpreadMethodProperty
);
1051 return (GradientSpreadMethod
) value
->AsInt32 ();
1055 GradientBrush::SetSpreadMethod (GradientSpreadMethod value
)
1057 SetValue (GradientBrush::SpreadMethodProperty
, Value (value
));
1061 GradientBrush::GetMappingMode ()
1063 Value
*value
= GetValue (GradientBrush::MappingModeProperty
);
1064 return (BrushMappingMode
) value
->AsInt32 ();
1068 GradientBrush::SetMappingMode (BrushMappingMode value
)
1070 SetValue (GradientBrush::MappingModeProperty
, Value (value
));
1073 GradientStopCollection
*
1074 GradientBrush::GetGradientStops ()
1076 Value
*value
= GetValue (GradientBrush::GradientStopsProperty
);
1077 return value
? value
->AsGradientStopCollection () : NULL
;
1081 GradientBrush::SetGradientStops (GradientStopCollection
*value
)
1083 SetValue (GradientBrush::GradientStopsProperty
, Value::CreateUnrefPtr (value
));
1086 ColorInterpolationMode
1087 GradientBrush::GetColorInterpolationMode ()
1089 Value
*value
= GetValue (GradientBrush::ColorInterpolationModeProperty
);
1090 return (ColorInterpolationMode
) value
->AsInt32 ();
1094 GradientBrush::SetColorInterpolationMode (ColorInterpolationMode value
)
1096 SetValue (GradientBrush::ColorInterpolationModeProperty
, Value (value
));
1100 InkPresenter::GetStrokes ()
1102 Value
*value
= GetValue (InkPresenter::StrokesProperty
);
1103 return value
? value
->AsStrokeCollection () : NULL
;
1107 InkPresenter::SetStrokes (StrokeCollection
*value
)
1109 SetValue (InkPresenter::StrokesProperty
, Value::CreateUnrefPtr (value
));
1113 Brush::GetTransform ()
1115 Value
*value
= GetValue (Brush::TransformProperty
);
1116 return value
? value
->AsTransform () : NULL
;
1120 Brush::SetTransform (Transform
*value
)
1122 SetValue (Brush::TransformProperty
, Value::CreateUnrefPtr (value
));
1126 Brush::GetRelativeTransform ()
1128 Value
*value
= GetValue (Brush::RelativeTransformProperty
);
1129 return value
? value
->AsTransform () : NULL
;
1133 Brush::SetRelativeTransform (Transform
*value
)
1135 SetValue (Brush::RelativeTransformProperty
, Value::CreateUnrefPtr (value
));
1139 Brush::GetOpacity ()
1141 Value
*value
= GetValue (Brush::OpacityProperty
);
1142 return value
->AsDouble ();
1146 Brush::SetOpacity (double value
)
1148 SetValue (Brush::OpacityProperty
, Value (value
));
1152 Rectangle::GetRadiusY ()
1154 Value
*value
= GetValue (Rectangle::RadiusYProperty
);
1155 return value
->AsDouble ();
1159 Rectangle::SetRadiusY (double value
)
1161 SetValue (Rectangle::RadiusYProperty
, Value (value
));
1165 Rectangle::GetRadiusX ()
1167 Value
*value
= GetValue (Rectangle::RadiusXProperty
);
1168 return value
->AsDouble ();
1172 Rectangle::SetRadiusX (double value
)
1174 SetValue (Rectangle::RadiusXProperty
, Value (value
));
1178 Polyline::GetPoints ()
1180 Value
*value
= GetValue (Polyline::PointsProperty
);
1181 return value
? value
->AsPointCollection () : NULL
;
1185 Polyline::SetPoints (PointCollection
*value
)
1187 SetValue (Polyline::PointsProperty
, Value::CreateUnrefPtr (value
));
1191 Polyline::GetFillRule ()
1193 Value
*value
= GetValue (Polyline::FillRuleProperty
);
1194 return (FillRule
) value
->AsInt32 ();
1198 Polyline::SetFillRule (FillRule value
)
1200 SetValue (Polyline::FillRuleProperty
, Value (value
));
1204 Polygon::GetPoints ()
1206 Value
*value
= GetValue (Polygon::PointsProperty
);
1207 return value
? value
->AsPointCollection () : NULL
;
1211 Polygon::SetPoints (PointCollection
*value
)
1213 SetValue (Polygon::PointsProperty
, Value::CreateUnrefPtr (value
));
1217 Polygon::GetFillRule ()
1219 Value
*value
= GetValue (Polygon::FillRuleProperty
);
1220 return (FillRule
) value
->AsInt32 ();
1224 Polygon::SetFillRule (FillRule value
)
1226 SetValue (Polygon::FillRuleProperty
, Value (value
));
1232 Value
*value
= GetValue (Path::DataProperty
);
1233 return value
? value
->AsGeometry () : NULL
;
1237 Path::SetData (Geometry
*value
)
1239 SetValue (Path::DataProperty
, Value::CreateUnrefPtr (value
));
1245 Value
*value
= GetValue (Line::Y2Property
);
1246 return value
->AsDouble ();
1250 Line::SetY2 (double value
)
1252 SetValue (Line::Y2Property
, Value (value
));
1258 Value
*value
= GetValue (Line::Y1Property
);
1259 return value
->AsDouble ();
1263 Line::SetY1 (double value
)
1265 SetValue (Line::Y1Property
, Value (value
));
1271 Value
*value
= GetValue (Line::X2Property
);
1272 return value
->AsDouble ();
1276 Line::SetX2 (double value
)
1278 SetValue (Line::X2Property
, Value (value
));
1284 Value
*value
= GetValue (Line::X1Property
);
1285 return value
->AsDouble ();
1289 Line::SetX1 (double value
)
1291 SetValue (Line::X1Property
, Value (value
));
1295 MultiScaleImage::GetViewportWidth ()
1297 Value
*value
= GetValue (MultiScaleImage::ViewportWidthProperty
);
1298 return value
->AsDouble ();
1302 MultiScaleImage::SetViewportWidth (double value
)
1304 SetValue (MultiScaleImage::ViewportWidthProperty
, Value (value
));
1308 MultiScaleImage::GetViewportOrigin ()
1310 Value
*value
= GetValue (MultiScaleImage::ViewportOriginProperty
);
1311 return value
? value
->AsPoint () : NULL
;
1315 MultiScaleImage::SetViewportOrigin (Point
*value
)
1318 SetValue (MultiScaleImage::ViewportOriginProperty
, Value (*value
));
1322 MultiScaleImage::GetUseSprings ()
1324 Value
*value
= GetValue (MultiScaleImage::UseSpringsProperty
);
1325 return value
->AsBool ();
1329 MultiScaleImage::SetUseSprings (bool value
)
1331 SetValue (MultiScaleImage::UseSpringsProperty
, Value (value
));
1334 MultiScaleSubImageCollection
*
1335 MultiScaleImage::GetSubImages ()
1337 Value
*value
= GetValue (MultiScaleImage::SubImagesProperty
);
1338 return value
? value
->AsMultiScaleSubImageCollection () : NULL
;
1341 MultiScaleTileSource
*
1342 MultiScaleImage::GetSource ()
1344 Value
*value
= GetValue (MultiScaleImage::SourceProperty
);
1345 return value
? value
->AsMultiScaleTileSource () : NULL
;
1349 MultiScaleImage::SetSource (MultiScaleTileSource
*value
)
1351 SetValue (MultiScaleImage::SourceProperty
, Value::CreateUnrefPtr (value
));
1355 MultiScaleImage::GetIsIdle ()
1357 Value
*value
= GetValue (MultiScaleImage::IsIdleProperty
);
1358 return value
->AsBool ();
1362 MultiScaleImage::GetIsDownloading ()
1364 Value
*value
= GetValue (MultiScaleImage::IsDownloadingProperty
);
1365 return value
->AsBool ();
1369 MultiScaleImage::GetInternalViewportWidth ()
1371 Value
*value
= GetValue (MultiScaleImage::InternalViewportWidthProperty
);
1372 return value
->AsDouble ();
1376 MultiScaleImage::GetInternalViewportOrigin ()
1378 Value
*value
= GetValue (MultiScaleImage::InternalViewportOriginProperty
);
1379 return value
? value
->AsPoint () : NULL
;
1383 MultiScaleImage::GetBlurFactor ()
1385 Value
*value
= GetValue (MultiScaleImage::BlurFactorProperty
);
1386 return value
->AsDouble ();
1390 MultiScaleImage::SetBlurFactor (double value
)
1392 SetValue (MultiScaleImage::BlurFactorProperty
, Value (value
));
1396 MultiScaleImage::GetAspectRatio ()
1398 Value
*value
= GetValue (MultiScaleImage::AspectRatioProperty
);
1399 return value
->AsDouble ();
1403 MultiScaleImage::GetAllowDownloading ()
1405 Value
*value
= GetValue (MultiScaleImage::AllowDownloadingProperty
);
1406 return value
->AsBool ();
1410 MultiScaleImage::SetAllowDownloading (bool value
)
1412 SetValue (MultiScaleImage::AllowDownloadingProperty
, Value (value
));
1418 Value
*value
= GetValue (Image::SourceProperty
);
1419 return value
? value
->AsImageSource () : NULL
;
1423 Image::SetSource (ImageSource
*value
)
1425 SetValue (Image::SourceProperty
, Value::CreateUnrefPtr (value
));
1429 ContentControl::GetContentTemplate ()
1431 Value
*value
= GetValue (ContentControl::ContentTemplateProperty
);
1432 return value
? value
->AsDataTemplate () : NULL
;
1436 ContentControl::SetContentTemplate (DataTemplate
*value
)
1438 SetValue (ContentControl::ContentTemplateProperty
, Value::CreateUnrefPtr (value
));
1442 Grid::GetShowGridLines ()
1444 Value
*value
= GetValue (Grid::ShowGridLinesProperty
);
1445 return value
->AsBool ();
1449 Grid::SetShowGridLines (bool value
)
1451 SetValue (Grid::ShowGridLinesProperty
, Value (value
));
1455 Grid::GetRowSpan (DependencyObject
*obj
)
1457 Value
*value
= (!obj
) ? NULL
: obj
->GetValue (Grid::RowSpanProperty
);
1458 if (!value
) value
= Deployment::GetCurrent ()->GetTypes ()->GetProperty (Grid::RowSpanProperty
)->GetDefaultValue();
1459 return value
->AsInt32 ();
1463 Grid::SetRowSpan (DependencyObject
*obj
, gint32 value
)
1466 obj
->SetValue (Grid::RowSpanProperty
, Value (value
));
1470 Grid::GetRow (DependencyObject
*obj
)
1472 Value
*value
= (!obj
) ? NULL
: obj
->GetValue (Grid::RowProperty
);
1473 if (!value
) value
= Deployment::GetCurrent ()->GetTypes ()->GetProperty (Grid::RowProperty
)->GetDefaultValue();
1474 return value
->AsInt32 ();
1478 Grid::SetRow (DependencyObject
*obj
, gint32 value
)
1481 obj
->SetValue (Grid::RowProperty
, Value (value
));
1484 RowDefinitionCollection
*
1485 Grid::GetRowDefinitions ()
1487 Value
*value
= GetValue (Grid::RowDefinitionsProperty
);
1488 return value
? value
->AsRowDefinitionCollection () : NULL
;
1492 Grid::SetRowDefinitions (RowDefinitionCollection
*value
)
1494 SetValue (Grid::RowDefinitionsProperty
, Value::CreateUnrefPtr (value
));
1498 Grid::GetColumnSpan (DependencyObject
*obj
)
1500 Value
*value
= (!obj
) ? NULL
: obj
->GetValue (Grid::ColumnSpanProperty
);
1501 if (!value
) value
= Deployment::GetCurrent ()->GetTypes ()->GetProperty (Grid::ColumnSpanProperty
)->GetDefaultValue();
1502 return value
->AsInt32 ();
1506 Grid::SetColumnSpan (DependencyObject
*obj
, gint32 value
)
1509 obj
->SetValue (Grid::ColumnSpanProperty
, Value (value
));
1513 Grid::GetColumn (DependencyObject
*obj
)
1515 Value
*value
= (!obj
) ? NULL
: obj
->GetValue (Grid::ColumnProperty
);
1516 if (!value
) value
= Deployment::GetCurrent ()->GetTypes ()->GetProperty (Grid::ColumnProperty
)->GetDefaultValue();
1517 return value
->AsInt32 ();
1521 Grid::SetColumn (DependencyObject
*obj
, gint32 value
)
1524 obj
->SetValue (Grid::ColumnProperty
, Value (value
));
1527 ColumnDefinitionCollection
*
1528 Grid::GetColumnDefinitions ()
1530 Value
*value
= GetValue (Grid::ColumnDefinitionsProperty
);
1531 return value
? value
->AsColumnDefinitionCollection () : NULL
;
1535 Grid::SetColumnDefinitions (ColumnDefinitionCollection
*value
)
1537 SetValue (Grid::ColumnDefinitionsProperty
, Value::CreateUnrefPtr (value
));
1541 Canvas::GetZIndex (DependencyObject
*obj
)
1543 Value
*value
= (!obj
) ? NULL
: obj
->GetValue (Canvas::ZIndexProperty
);
1544 if (!value
) value
= Deployment::GetCurrent ()->GetTypes ()->GetProperty (Canvas::ZIndexProperty
)->GetDefaultValue();
1545 return value
->AsInt32 ();
1549 Canvas::SetZIndex (DependencyObject
*obj
, gint32 value
)
1552 obj
->SetValue (Canvas::ZIndexProperty
, Value (value
));
1556 Canvas::GetTop (DependencyObject
*obj
)
1558 Value
*value
= (!obj
) ? NULL
: obj
->GetValue (Canvas::TopProperty
);
1559 if (!value
) value
= Deployment::GetCurrent ()->GetTypes ()->GetProperty (Canvas::TopProperty
)->GetDefaultValue();
1560 return value
->AsDouble ();
1564 Canvas::SetTop (DependencyObject
*obj
, double value
)
1567 obj
->SetValue (Canvas::TopProperty
, Value (value
));
1571 Canvas::GetLeft (DependencyObject
*obj
)
1573 Value
*value
= (!obj
) ? NULL
: obj
->GetValue (Canvas::LeftProperty
);
1574 if (!value
) value
= Deployment::GetCurrent ()->GetTypes ()->GetProperty (Canvas::LeftProperty
)->GetDefaultValue();
1575 return value
->AsDouble ();
1579 Canvas::SetLeft (DependencyObject
*obj
, double value
)
1582 obj
->SetValue (Canvas::LeftProperty
, Value (value
));
1586 TextBlock::GetTextWrapping ()
1588 Value
*value
= GetValue (TextBlock::TextWrappingProperty
);
1589 return (TextWrapping
) value
->AsInt32 ();
1593 TextBlock::SetTextWrapping (TextWrapping value
)
1595 SetValue (TextBlock::TextWrappingProperty
, Value (value
));
1599 TextBlock::GetText ()
1601 Value
*value
= GetValue (TextBlock::TextProperty
);
1602 return value
? value
->AsString () : NULL
;
1606 TextBlock::SetText (const char *value
)
1608 SetValue (TextBlock::TextProperty
, Value (value
));
1612 TextBlock::GetTextDecorations ()
1614 Value
*value
= GetValue (TextBlock::TextDecorationsProperty
);
1615 return (TextDecorations
) value
->AsInt32 ();
1619 TextBlock::SetTextDecorations (TextDecorations value
)
1621 SetValue (TextBlock::TextDecorationsProperty
, Value (value
));
1625 TextBlock::GetTextAlignment ()
1627 Value
*value
= GetValue (TextBlock::TextAlignmentProperty
);
1628 return (TextAlignment
) value
->AsInt32 ();
1632 TextBlock::SetTextAlignment (TextAlignment value
)
1634 SetValue (TextBlock::TextAlignmentProperty
, Value (value
));
1638 TextBlock::GetPadding ()
1640 Value
*value
= GetValue (TextBlock::PaddingProperty
);
1641 return value
? value
->AsThickness () : NULL
;
1645 TextBlock::SetPadding (Thickness
*value
)
1648 SetValue (TextBlock::PaddingProperty
, Value (*value
));
1651 LineStackingStrategy
1652 TextBlock::GetLineStackingStrategy ()
1654 Value
*value
= GetValue (TextBlock::LineStackingStrategyProperty
);
1655 return (LineStackingStrategy
) value
->AsInt32 ();
1659 TextBlock::SetLineStackingStrategy (LineStackingStrategy value
)
1661 SetValue (TextBlock::LineStackingStrategyProperty
, Value (value
));
1665 TextBlock::GetLineHeight ()
1667 Value
*value
= GetValue (TextBlock::LineHeightProperty
);
1668 return value
->AsDouble ();
1672 TextBlock::SetLineHeight (double value
)
1674 SetValue (TextBlock::LineHeightProperty
, Value (value
));
1678 TextBlock::GetInlines ()
1680 Value
*value
= GetValue (TextBlock::InlinesProperty
);
1681 return value
? value
->AsInlineCollection () : NULL
;
1685 TextBlock::SetInlines (InlineCollection
*value
)
1687 SetValue (TextBlock::InlinesProperty
, Value::CreateUnrefPtr (value
));
1691 TextBlock::GetForeground ()
1693 Value
*value
= GetValue (TextBlock::ForegroundProperty
);
1694 return value
? value
->AsBrush () : NULL
;
1698 TextBlock::SetForeground (Brush
*value
)
1700 SetValue (TextBlock::ForegroundProperty
, Value::CreateUnrefPtr (value
));
1704 TextBlock::GetFontWeight ()
1706 Value
*value
= GetValue (TextBlock::FontWeightProperty
);
1707 return value
? value
->AsFontWeight () : NULL
;
1711 TextBlock::SetFontWeight (FontWeight
*value
)
1714 SetValue (TextBlock::FontWeightProperty
, Value (*value
));
1718 TextBlock::GetFontStyle ()
1720 Value
*value
= GetValue (TextBlock::FontStyleProperty
);
1721 return value
? value
->AsFontStyle () : NULL
;
1725 TextBlock::SetFontStyle (FontStyle
*value
)
1728 SetValue (TextBlock::FontStyleProperty
, Value (*value
));
1732 TextBlock::GetFontStretch ()
1734 Value
*value
= GetValue (TextBlock::FontStretchProperty
);
1735 return value
? value
->AsFontStretch () : NULL
;
1739 TextBlock::SetFontStretch (FontStretch
*value
)
1742 SetValue (TextBlock::FontStretchProperty
, Value (*value
));
1746 TextBlock::GetFontSource ()
1748 Value
*value
= GetValue (TextBlock::FontSourceProperty
);
1749 return value
? value
->AsFontSource () : NULL
;
1753 TextBlock::SetFontSource (FontSource
*value
)
1756 SetValue (TextBlock::FontSourceProperty
, Value (*value
));
1760 TextBlock::GetFontSize ()
1762 Value
*value
= GetValue (TextBlock::FontSizeProperty
);
1763 return value
->AsDouble ();
1767 TextBlock::SetFontSize (double value
)
1769 SetValue (TextBlock::FontSizeProperty
, Value (value
));
1773 TextBlock::GetFontFamily ()
1775 Value
*value
= GetValue (TextBlock::FontFamilyProperty
);
1776 return value
? value
->AsFontFamily () : NULL
;
1780 TextBlock::SetFontFamily (FontFamily
*value
)
1783 SetValue (TextBlock::FontFamilyProperty
, Value (*value
));
1787 Popup::GetVerticalOffset ()
1789 Value
*value
= GetValue (Popup::VerticalOffsetProperty
);
1790 return value
->AsDouble ();
1794 Popup::SetVerticalOffset (double value
)
1796 SetValue (Popup::VerticalOffsetProperty
, Value (value
));
1802 Value
*value
= GetValue (Popup::IsOpenProperty
);
1803 return value
->AsBool ();
1807 Popup::SetIsOpen (bool value
)
1809 SetValue (Popup::IsOpenProperty
, Value (value
));
1813 Popup::GetHorizontalOffset ()
1815 Value
*value
= GetValue (Popup::HorizontalOffsetProperty
);
1816 return value
->AsDouble ();
1820 Popup::SetHorizontalOffset (double value
)
1822 SetValue (Popup::HorizontalOffsetProperty
, Value (value
));
1828 Value
*value
= GetValue (Popup::ChildProperty
);
1829 return value
? value
->AsUIElement () : NULL
;
1833 Popup::SetChild (UIElement
*value
)
1835 SetValue (Popup::ChildProperty
, Value::CreateUnrefPtr (value
));
1839 MediaElement::GetVolume ()
1841 Value
*value
= GetValue (MediaElement::VolumeProperty
);
1842 return value
->AsDouble ();
1846 MediaElement::SetVolume (double value
)
1848 SetValue (MediaElement::VolumeProperty
, Value (value
));
1852 MediaElement::GetStretch ()
1854 Value
*value
= GetValue (MediaElement::StretchProperty
);
1855 return (Stretch
) value
->AsInt32 ();
1859 MediaElement::SetStretch (Stretch value
)
1861 SetValue (MediaElement::StretchProperty
, Value (value
));
1865 MediaElement::GetSource ()
1867 Value
*value
= GetValue (MediaElement::SourceProperty
);
1868 return value
? value
->AsUri () : NULL
;
1872 MediaElement::SetSource (Uri value
)
1874 SetValue (MediaElement::SourceProperty
, Value (value
));
1878 MediaElement::SetSource (Uri
*value
)
1881 SetValue (MediaElement::SourceProperty
, NULL
);
1883 SetValue (MediaElement::SourceProperty
, Value (*value
));
1887 MediaElement::GetRenderedFramesPerSecond ()
1889 Value
*value
= GetValue (MediaElement::RenderedFramesPerSecondProperty
);
1890 return value
->AsDouble ();
1894 MediaElement::SetRenderedFramesPerSecond (double value
)
1896 SetValue (MediaElement::RenderedFramesPerSecondProperty
, Value (value
));
1900 MediaElement::GetPosition ()
1902 Value
*value
= GetValue (MediaElement::PositionProperty
);
1903 return value
->AsTimeSpan ();
1907 MediaElement::SetPosition (TimeSpan value
)
1909 SetValue (MediaElement::PositionProperty
, Value (value
, Type::TIMESPAN
));
1913 MediaElement::GetNaturalVideoWidth ()
1915 Value
*value
= GetValue (MediaElement::NaturalVideoWidthProperty
);
1916 return value
->AsInt32 ();
1920 MediaElement::SetNaturalVideoWidth (gint32 value
)
1922 SetValue (MediaElement::NaturalVideoWidthProperty
, Value (value
));
1926 MediaElement::GetNaturalVideoHeight ()
1928 Value
*value
= GetValue (MediaElement::NaturalVideoHeightProperty
);
1929 return value
->AsInt32 ();
1933 MediaElement::SetNaturalVideoHeight (gint32 value
)
1935 SetValue (MediaElement::NaturalVideoHeightProperty
, Value (value
));
1939 MediaElement::GetNaturalDuration ()
1941 Value
*value
= GetValue (MediaElement::NaturalDurationProperty
);
1942 return value
? value
->AsDuration () : NULL
;
1946 MediaElement::SetNaturalDuration (Duration
*value
)
1949 SetValue (MediaElement::NaturalDurationProperty
, Value (*value
));
1952 TimelineMarkerCollection
*
1953 MediaElement::GetMarkers ()
1955 Value
*value
= GetValue (MediaElement::MarkersProperty
);
1956 return value
? value
->AsTimelineMarkerCollection () : NULL
;
1960 MediaElement::SetMarkers (TimelineMarkerCollection
*value
)
1962 SetValue (MediaElement::MarkersProperty
, Value::CreateUnrefPtr (value
));
1966 MediaElement::GetIsMuted ()
1968 Value
*value
= GetValue (MediaElement::IsMutedProperty
);
1969 return value
->AsBool ();
1973 MediaElement::SetIsMuted (bool value
)
1975 SetValue (MediaElement::IsMutedProperty
, Value (value
));
1979 MediaElement::GetDroppedFramesPerSecond ()
1981 Value
*value
= GetValue (MediaElement::DroppedFramesPerSecondProperty
);
1982 return value
->AsDouble ();
1986 MediaElement::SetDroppedFramesPerSecond (double value
)
1988 SetValue (MediaElement::DroppedFramesPerSecondProperty
, Value (value
));
1992 MediaElement::GetDownloadProgress ()
1994 Value
*value
= GetValue (MediaElement::DownloadProgressProperty
);
1995 return value
->AsDouble ();
1999 MediaElement::SetDownloadProgress (double value
)
2001 SetValue (MediaElement::DownloadProgressProperty
, Value (value
));
2005 MediaElement::GetDownloadProgressOffset ()
2007 Value
*value
= GetValue (MediaElement::DownloadProgressOffsetProperty
);
2008 return value
->AsDouble ();
2012 MediaElement::SetDownloadProgressOffset (double value
)
2014 SetValue (MediaElement::DownloadProgressOffsetProperty
, Value (value
));
2018 MediaElement::GetCurrentState ()
2020 Value
*value
= GetValue (MediaElement::CurrentStateProperty
);
2021 return (MediaState
) value
->AsInt32 ();
2025 MediaElement::SetCurrentState (MediaState value
)
2027 SetValue (MediaElement::CurrentStateProperty
, Value (value
));
2031 MediaElement::GetCanSeek ()
2033 Value
*value
= GetValue (MediaElement::CanSeekProperty
);
2034 return value
->AsBool ();
2038 MediaElement::SetCanSeek (bool value
)
2040 SetValue (MediaElement::CanSeekProperty
, Value (value
));
2044 MediaElement::GetCanPause ()
2046 Value
*value
= GetValue (MediaElement::CanPauseProperty
);
2047 return value
->AsBool ();
2051 MediaElement::SetCanPause (bool value
)
2053 SetValue (MediaElement::CanPauseProperty
, Value (value
));
2057 MediaElement::GetBufferingTime ()
2059 Value
*value
= GetValue (MediaElement::BufferingTimeProperty
);
2060 return value
->AsTimeSpan ();
2064 MediaElement::SetBufferingTime (TimeSpan value
)
2066 SetValue (MediaElement::BufferingTimeProperty
, Value (value
, Type::TIMESPAN
));
2070 MediaElement::GetBufferingProgress ()
2072 Value
*value
= GetValue (MediaElement::BufferingProgressProperty
);
2073 return value
->AsDouble ();
2077 MediaElement::SetBufferingProgress (double value
)
2079 SetValue (MediaElement::BufferingProgressProperty
, Value (value
));
2083 MediaElement::GetBalance ()
2085 Value
*value
= GetValue (MediaElement::BalanceProperty
);
2086 return value
->AsDouble ();
2090 MediaElement::SetBalance (double value
)
2092 SetValue (MediaElement::BalanceProperty
, Value (value
));
2096 MediaElement::GetAutoPlay ()
2098 Value
*value
= GetValue (MediaElement::AutoPlayProperty
);
2099 return value
->AsBool ();
2103 MediaElement::SetAutoPlay (bool value
)
2105 SetValue (MediaElement::AutoPlayProperty
, Value (value
));
2109 MediaElement::GetAudioStreamIndex ()
2111 Value
*value
= GetValue (MediaElement::AudioStreamIndexProperty
);
2112 return value
? value
->AsNullableInt32 () : NULL
;
2116 MediaElement::SetAudioStreamIndex (gint32 value
)
2118 SetValue (MediaElement::AudioStreamIndexProperty
, Value (value
));
2122 MediaElement::SetAudioStreamIndex (gint32
* value
)
2125 SetValue (MediaElement::AudioStreamIndexProperty
, NULL
);
2127 SetValue (MediaElement::AudioStreamIndexProperty
, Value (*value
));
2131 MediaElement::GetAudioStreamCount ()
2133 Value
*value
= GetValue (MediaElement::AudioStreamCountProperty
);
2134 return value
->AsInt32 ();
2138 MediaElement::SetAudioStreamCount (gint32 value
)
2140 SetValue (MediaElement::AudioStreamCountProperty
, Value (value
));
2143 MediaAttributeCollection
*
2144 MediaElement::GetAttributes ()
2146 Value
*value
= GetValue (MediaElement::AttributesProperty
);
2147 return value
? value
->AsMediaAttributeCollection () : NULL
;
2151 MediaElement::SetAttributes (MediaAttributeCollection
*value
)
2153 SetValue (MediaElement::AttributesProperty
, Value::CreateUnrefPtr (value
));
2157 Shape::GetStrokeThickness ()
2159 Value
*value
= GetValue (Shape::StrokeThicknessProperty
);
2160 return value
->AsDouble ();
2164 Shape::SetStrokeThickness (double value
)
2166 SetValue (Shape::StrokeThicknessProperty
, Value (value
));
2170 Shape::GetStrokeStartLineCap ()
2172 Value
*value
= GetValue (Shape::StrokeStartLineCapProperty
);
2173 return (PenLineCap
) value
->AsInt32 ();
2177 Shape::SetStrokeStartLineCap (PenLineCap value
)
2179 SetValue (Shape::StrokeStartLineCapProperty
, Value (value
));
2185 Value
*value
= GetValue (Shape::StrokeProperty
);
2186 return value
? value
->AsBrush () : NULL
;
2190 Shape::SetStroke (Brush
*value
)
2192 SetValue (Shape::StrokeProperty
, Value::CreateUnrefPtr (value
));
2196 Shape::GetStrokeMiterLimit ()
2198 Value
*value
= GetValue (Shape::StrokeMiterLimitProperty
);
2199 return value
->AsDouble ();
2203 Shape::SetStrokeMiterLimit (double value
)
2205 SetValue (Shape::StrokeMiterLimitProperty
, Value (value
));
2209 Shape::GetStrokeLineJoin ()
2211 Value
*value
= GetValue (Shape::StrokeLineJoinProperty
);
2212 return (PenLineJoin
) value
->AsInt32 ();
2216 Shape::SetStrokeLineJoin (PenLineJoin value
)
2218 SetValue (Shape::StrokeLineJoinProperty
, Value (value
));
2222 Shape::GetStrokeEndLineCap ()
2224 Value
*value
= GetValue (Shape::StrokeEndLineCapProperty
);
2225 return (PenLineCap
) value
->AsInt32 ();
2229 Shape::SetStrokeEndLineCap (PenLineCap value
)
2231 SetValue (Shape::StrokeEndLineCapProperty
, Value (value
));
2235 Shape::GetStrokeDashOffset ()
2237 Value
*value
= GetValue (Shape::StrokeDashOffsetProperty
);
2238 return value
->AsDouble ();
2242 Shape::SetStrokeDashOffset (double value
)
2244 SetValue (Shape::StrokeDashOffsetProperty
, Value (value
));
2248 Shape::GetStrokeDashCap ()
2250 Value
*value
= GetValue (Shape::StrokeDashCapProperty
);
2251 return (PenLineCap
) value
->AsInt32 ();
2255 Shape::SetStrokeDashCap (PenLineCap value
)
2257 SetValue (Shape::StrokeDashCapProperty
, Value (value
));
2261 Shape::GetStrokeDashArray ()
2263 Value
*value
= GetValue (Shape::StrokeDashArrayProperty
);
2264 return value
? value
->AsDoubleCollection () : NULL
;
2268 Shape::SetStrokeDashArray (DoubleCollection
*value
)
2270 SetValue (Shape::StrokeDashArrayProperty
, Value::CreateUnrefPtr (value
));
2274 Shape::GetStretch ()
2276 Value
*value
= GetValue (Shape::StretchProperty
);
2277 return (Stretch
) value
->AsInt32 ();
2281 Shape::SetStretch (Stretch value
)
2283 SetValue (Shape::StretchProperty
, Value (value
));
2289 Value
*value
= GetValue (Shape::FillProperty
);
2290 return value
? value
->AsBrush () : NULL
;
2294 Shape::SetFill (Brush
*value
)
2296 SetValue (Shape::FillProperty
, Value::CreateUnrefPtr (value
));
2300 MediaBase::GetStretch ()
2302 Value
*value
= GetValue (MediaBase::StretchProperty
);
2303 return (Stretch
) value
->AsInt32 ();
2307 MediaBase::SetStretch (Stretch value
)
2309 SetValue (MediaBase::StretchProperty
, Value (value
));
2313 MediaBase::GetSource ()
2315 Value
*value
= GetValue (MediaBase::SourceProperty
);
2316 return value
? value
->AsString () : NULL
;
2320 MediaBase::SetSource (const char *value
)
2322 SetValue (MediaBase::SourceProperty
, Value (value
));
2326 MediaBase::GetDownloadProgress ()
2328 Value
*value
= GetValue (MediaBase::DownloadProgressProperty
);
2329 return value
->AsDouble ();
2333 MediaBase::SetDownloadProgress (double value
)
2335 SetValue (MediaBase::DownloadProgressProperty
, Value (value
));
2339 Glyphs::GetUnicodeString ()
2341 Value
*value
= GetValue (Glyphs::UnicodeStringProperty
);
2342 return value
? value
->AsString () : NULL
;
2346 Glyphs::SetUnicodeString (const char *value
)
2348 SetValue (Glyphs::UnicodeStringProperty
, Value (value
));
2352 Glyphs::GetStyleSimulations ()
2354 Value
*value
= GetValue (Glyphs::StyleSimulationsProperty
);
2355 return (StyleSimulations
) value
->AsInt32 ();
2359 Glyphs::SetStyleSimulations (StyleSimulations value
)
2361 SetValue (Glyphs::StyleSimulationsProperty
, Value (value
));
2365 Glyphs::GetOriginY ()
2367 Value
*value
= GetValue (Glyphs::OriginYProperty
);
2368 return value
->AsDouble ();
2372 Glyphs::SetOriginY (double value
)
2374 SetValue (Glyphs::OriginYProperty
, Value (value
));
2378 Glyphs::GetOriginX ()
2380 Value
*value
= GetValue (Glyphs::OriginXProperty
);
2381 return value
->AsDouble ();
2385 Glyphs::SetOriginX (double value
)
2387 SetValue (Glyphs::OriginXProperty
, Value (value
));
2391 Glyphs::GetIndices ()
2393 Value
*value
= GetValue (Glyphs::IndicesProperty
);
2394 return value
? value
->AsString () : NULL
;
2398 Glyphs::SetIndices (const char *value
)
2400 SetValue (Glyphs::IndicesProperty
, Value (value
));
2404 Glyphs::GetFontUri ()
2406 Value
*value
= GetValue (Glyphs::FontUriProperty
);
2407 return value
? value
->AsUri () : NULL
;
2411 Glyphs::SetFontUri (Uri
*value
)
2414 SetValue (Glyphs::FontUriProperty
, Value (*value
));
2418 Glyphs::GetFontRenderingEmSize ()
2420 Value
*value
= GetValue (Glyphs::FontRenderingEmSizeProperty
);
2421 return value
->AsDouble ();
2425 Glyphs::SetFontRenderingEmSize (double value
)
2427 SetValue (Glyphs::FontRenderingEmSizeProperty
, Value (value
));
2433 Value
*value
= GetValue (Glyphs::FillProperty
);
2434 return value
? value
->AsBrush () : NULL
;
2438 Glyphs::SetFill (Brush
*value
)
2440 SetValue (Glyphs::FillProperty
, Value::CreateUnrefPtr (value
));
2444 Control::GetVerticalContentAlignment ()
2446 Value
*value
= GetValue (Control::VerticalContentAlignmentProperty
);
2447 return (VerticalAlignment
) value
->AsInt32 ();
2451 Control::SetVerticalContentAlignment (VerticalAlignment value
)
2453 SetValue (Control::VerticalContentAlignmentProperty
, Value (value
));
2457 Control::GetTemplate ()
2459 Value
*value
= GetValue (Control::TemplateProperty
);
2460 return value
? value
->AsControlTemplate () : NULL
;
2464 Control::SetTemplate (ControlTemplate
*value
)
2466 SetValue (Control::TemplateProperty
, Value::CreateUnrefPtr (value
));
2469 KeyboardNavigationMode
2470 Control::GetTabNavigation ()
2472 Value
*value
= GetValue (Control::TabNavigationProperty
);
2473 return (KeyboardNavigationMode
) value
->AsInt32 ();
2477 Control::SetTabNavigation (KeyboardNavigationMode value
)
2479 SetValue (Control::TabNavigationProperty
, Value (value
));
2483 Control::GetTabIndex ()
2485 Value
*value
= GetValue (Control::TabIndexProperty
);
2486 return value
->AsInt32 ();
2490 Control::SetTabIndex (gint32 value
)
2492 SetValue (Control::TabIndexProperty
, Value (value
));
2496 Control::GetPadding ()
2498 Value
*value
= GetValue (Control::PaddingProperty
);
2499 return value
? value
->AsThickness () : NULL
;
2503 Control::SetPadding (Thickness
*value
)
2506 SetValue (Control::PaddingProperty
, Value (*value
));
2510 Control::GetIsTemplateItem (DependencyObject
*obj
)
2512 Value
*value
= (!obj
) ? NULL
: obj
->GetValue (Control::IsTemplateItemProperty
);
2513 if (!value
) value
= Deployment::GetCurrent ()->GetTypes ()->GetProperty (Control::IsTemplateItemProperty
)->GetDefaultValue();
2514 return value
->AsBool ();
2518 Control::SetIsTemplateItem (DependencyObject
*obj
, bool value
)
2521 obj
->SetValue (Control::IsTemplateItemProperty
, Value (value
));
2525 Control::GetIsTabStop ()
2527 Value
*value
= GetValue (Control::IsTabStopProperty
);
2528 return value
->AsBool ();
2532 Control::SetIsTabStop (bool value
)
2534 SetValue (Control::IsTabStopProperty
, Value (value
));
2538 Control::GetIsEnabled ()
2540 Value
*value
= GetValue (Control::IsEnabledProperty
);
2541 return value
->AsBool ();
2545 Control::SetIsEnabled (bool value
)
2547 SetValue (Control::IsEnabledProperty
, Value (value
));
2551 Control::GetHorizontalContentAlignment ()
2553 Value
*value
= GetValue (Control::HorizontalContentAlignmentProperty
);
2554 return (HorizontalAlignment
) value
->AsInt32 ();
2558 Control::SetHorizontalContentAlignment (HorizontalAlignment value
)
2560 SetValue (Control::HorizontalContentAlignmentProperty
, Value (value
));
2564 Control::GetForeground ()
2566 Value
*value
= GetValue (Control::ForegroundProperty
);
2567 return value
? value
->AsBrush () : NULL
;
2571 Control::SetForeground (Brush
*value
)
2573 SetValue (Control::ForegroundProperty
, Value::CreateUnrefPtr (value
));
2577 Control::GetFontWeight ()
2579 Value
*value
= GetValue (Control::FontWeightProperty
);
2580 return value
? value
->AsFontWeight () : NULL
;
2584 Control::SetFontWeight (FontWeight
*value
)
2587 SetValue (Control::FontWeightProperty
, Value (*value
));
2591 Control::GetFontStyle ()
2593 Value
*value
= GetValue (Control::FontStyleProperty
);
2594 return value
? value
->AsFontStyle () : NULL
;
2598 Control::SetFontStyle (FontStyle
*value
)
2601 SetValue (Control::FontStyleProperty
, Value (*value
));
2605 Control::GetFontStretch ()
2607 Value
*value
= GetValue (Control::FontStretchProperty
);
2608 return value
? value
->AsFontStretch () : NULL
;
2612 Control::SetFontStretch (FontStretch
*value
)
2615 SetValue (Control::FontStretchProperty
, Value (*value
));
2619 Control::GetFontSize ()
2621 Value
*value
= GetValue (Control::FontSizeProperty
);
2622 return value
->AsDouble ();
2626 Control::SetFontSize (double value
)
2628 SetValue (Control::FontSizeProperty
, Value (value
));
2632 Control::GetFontFamily ()
2634 Value
*value
= GetValue (Control::FontFamilyProperty
);
2635 return value
? value
->AsFontFamily () : NULL
;
2639 Control::SetFontFamily (FontFamily
*value
)
2642 SetValue (Control::FontFamilyProperty
, Value (*value
));
2646 Control::GetDefaultStyleKey ()
2648 Value
*value
= GetValue (Control::DefaultStyleKeyProperty
);
2649 return value
? value
->AsManagedTypeInfo () : NULL
;
2653 Control::SetDefaultStyleKey (ManagedTypeInfo
*value
)
2656 SetValue (Control::DefaultStyleKeyProperty
, Value (*value
));
2660 Control::GetBorderThickness ()
2662 Value
*value
= GetValue (Control::BorderThicknessProperty
);
2663 return value
? value
->AsThickness () : NULL
;
2667 Control::SetBorderThickness (Thickness
*value
)
2670 SetValue (Control::BorderThicknessProperty
, Value (*value
));
2674 Control::GetBorderBrush ()
2676 Value
*value
= GetValue (Control::BorderBrushProperty
);
2677 return value
? value
->AsBrush () : NULL
;
2681 Control::SetBorderBrush (Brush
*value
)
2683 SetValue (Control::BorderBrushProperty
, Value::CreateUnrefPtr (value
));
2687 Control::GetBackground ()
2689 Value
*value
= GetValue (Control::BackgroundProperty
);
2690 return value
? value
->AsBrush () : NULL
;
2694 Control::SetBackground (Brush
*value
)
2696 SetValue (Control::BackgroundProperty
, Value::CreateUnrefPtr (value
));
2699 UIElementCollection
*
2700 Panel::GetChildren ()
2702 Value
*value
= GetValue (Panel::ChildrenProperty
);
2703 return value
? value
->AsUIElementCollection () : NULL
;
2707 Panel::SetChildren (UIElementCollection
*value
)
2709 SetValue (Panel::ChildrenProperty
, Value::CreateUnrefPtr (value
));
2713 Panel::GetBackground ()
2715 Value
*value
= GetValue (Panel::BackgroundProperty
);
2716 return value
? value
->AsBrush () : NULL
;
2720 Panel::SetBackground (Brush
*value
)
2722 SetValue (Panel::BackgroundProperty
, Value::CreateUnrefPtr (value
));
2726 Border::GetPadding ()
2728 Value
*value
= GetValue (Border::PaddingProperty
);
2729 return value
? value
->AsThickness () : NULL
;
2733 Border::SetPadding (Thickness
*value
)
2736 SetValue (Border::PaddingProperty
, Value (*value
));
2740 Border::GetCornerRadius ()
2742 Value
*value
= GetValue (Border::CornerRadiusProperty
);
2743 return value
? value
->AsCornerRadius () : NULL
;
2747 Border::SetCornerRadius (CornerRadius
*value
)
2750 SetValue (Border::CornerRadiusProperty
, Value (*value
));
2756 Value
*value
= GetValue (Border::ChildProperty
);
2757 return value
? value
->AsUIElement () : NULL
;
2761 Border::SetChild (UIElement
*value
)
2763 SetValue (Border::ChildProperty
, Value::CreateUnrefPtr (value
));
2767 Border::GetBorderThickness ()
2769 Value
*value
= GetValue (Border::BorderThicknessProperty
);
2770 return value
? value
->AsThickness () : NULL
;
2774 Border::SetBorderThickness (Thickness
*value
)
2777 SetValue (Border::BorderThicknessProperty
, Value (*value
));
2781 Border::GetBorderBrush ()
2783 Value
*value
= GetValue (Border::BorderBrushProperty
);
2784 return value
? value
->AsBrush () : NULL
;
2788 Border::SetBorderBrush (Brush
*value
)
2790 SetValue (Border::BorderBrushProperty
, Value::CreateUnrefPtr (value
));
2794 Border::GetBackground ()
2796 Value
*value
= GetValue (Border::BackgroundProperty
);
2797 return value
? value
->AsBrush () : NULL
;
2801 Border::SetBackground (Brush
*value
)
2803 SetValue (Border::BackgroundProperty
, Value::CreateUnrefPtr (value
));
2806 TimelineCollection
*
2807 TimelineGroup::GetChildren ()
2809 Value
*value
= GetValue (TimelineGroup::ChildrenProperty
);
2810 return value
? value
->AsTimelineCollection () : NULL
;
2814 TimelineGroup::SetChildren (TimelineCollection
*value
)
2816 SetValue (TimelineGroup::ChildrenProperty
, Value::CreateUnrefPtr (value
));
2822 Value
*value
= GetValue (Run::TextProperty
);
2823 return value
? value
->AsString () : NULL
;
2827 Run::SetText (const char *value
)
2829 SetValue (Run::TextProperty
, Value (value
));
2833 RectangleGeometry::GetRect ()
2835 Value
*value
= GetValue (RectangleGeometry::RectProperty
);
2836 return value
? value
->AsRect () : NULL
;
2840 RectangleGeometry::SetRect (Rect
*value
)
2843 SetValue (RectangleGeometry::RectProperty
, Value (*value
));
2847 RectangleGeometry::GetRadiusY ()
2849 Value
*value
= GetValue (RectangleGeometry::RadiusYProperty
);
2850 return value
->AsDouble ();
2854 RectangleGeometry::SetRadiusY (double value
)
2856 SetValue (RectangleGeometry::RadiusYProperty
, Value (value
));
2860 RectangleGeometry::GetRadiusX ()
2862 Value
*value
= GetValue (RectangleGeometry::RadiusXProperty
);
2863 return value
->AsDouble ();
2867 RectangleGeometry::SetRadiusX (double value
)
2869 SetValue (RectangleGeometry::RadiusXProperty
, Value (value
));
2873 PathGeometry::GetFillRule ()
2875 Value
*value
= GetValue (PathGeometry::FillRuleProperty
);
2876 return (FillRule
) value
->AsInt32 ();
2880 PathGeometry::SetFillRule (FillRule value
)
2882 SetValue (PathGeometry::FillRuleProperty
, Value (value
));
2885 PathFigureCollection
*
2886 PathGeometry::GetFigures ()
2888 Value
*value
= GetValue (PathGeometry::FiguresProperty
);
2889 return value
? value
->AsPathFigureCollection () : NULL
;
2893 PathGeometry::SetFigures (PathFigureCollection
*value
)
2895 SetValue (PathGeometry::FiguresProperty
, Value::CreateUnrefPtr (value
));
2899 LineGeometry::GetStartPoint ()
2901 Value
*value
= GetValue (LineGeometry::StartPointProperty
);
2902 return value
? value
->AsPoint () : NULL
;
2906 LineGeometry::SetStartPoint (Point
*value
)
2909 SetValue (LineGeometry::StartPointProperty
, Value (*value
));
2913 LineGeometry::GetEndPoint ()
2915 Value
*value
= GetValue (LineGeometry::EndPointProperty
);
2916 return value
? value
->AsPoint () : NULL
;
2920 LineGeometry::SetEndPoint (Point
*value
)
2923 SetValue (LineGeometry::EndPointProperty
, Value (*value
));
2927 GeometryGroup::GetFillRule ()
2929 Value
*value
= GetValue (GeometryGroup::FillRuleProperty
);
2930 return (FillRule
) value
->AsInt32 ();
2934 GeometryGroup::SetFillRule (FillRule value
)
2936 SetValue (GeometryGroup::FillRuleProperty
, Value (value
));
2939 GeometryCollection
*
2940 GeometryGroup::GetChildren ()
2942 Value
*value
= GetValue (GeometryGroup::ChildrenProperty
);
2943 return value
? value
->AsGeometryCollection () : NULL
;
2947 GeometryGroup::SetChildren (GeometryCollection
*value
)
2949 SetValue (GeometryGroup::ChildrenProperty
, Value::CreateUnrefPtr (value
));
2953 EllipseGeometry::GetRadiusY ()
2955 Value
*value
= GetValue (EllipseGeometry::RadiusYProperty
);
2956 return value
->AsDouble ();
2960 EllipseGeometry::SetRadiusY (double value
)
2962 SetValue (EllipseGeometry::RadiusYProperty
, Value (value
));
2966 EllipseGeometry::GetRadiusX ()
2968 Value
*value
= GetValue (EllipseGeometry::RadiusXProperty
);
2969 return value
->AsDouble ();
2973 EllipseGeometry::SetRadiusX (double value
)
2975 SetValue (EllipseGeometry::RadiusXProperty
, Value (value
));
2979 EllipseGeometry::GetCenter ()
2981 Value
*value
= GetValue (EllipseGeometry::CenterProperty
);
2982 return value
? value
->AsPoint () : NULL
;
2986 EllipseGeometry::SetCenter (Point
*value
)
2989 SetValue (EllipseGeometry::CenterProperty
, Value (*value
));
2993 DeepZoomImageTileSource::GetUriSource ()
2995 Value
*value
= GetValue (DeepZoomImageTileSource::UriSourceProperty
);
2996 return value
? value
->AsUri () : NULL
;
3000 DeepZoomImageTileSource::SetUriSource (Uri
*value
)
3003 SetValue (DeepZoomImageTileSource::UriSourceProperty
, Value (*value
));
3006 ResourceDictionaryCollection
*
3007 ResourceDictionary::GetMergedDictionaries ()
3009 Value
*value
= GetValue (ResourceDictionary::MergedDictionariesProperty
);
3010 return value
? value
->AsResourceDictionaryCollection () : NULL
;
3014 ResourceDictionary::SetMergedDictionaries (ResourceDictionaryCollection
*value
)
3016 SetValue (ResourceDictionary::MergedDictionariesProperty
, Value::CreateUnrefPtr (value
));
3020 FrameworkElement::GetWidth ()
3022 Value
*value
= GetValue (FrameworkElement::WidthProperty
);
3023 return value
->AsDouble ();
3027 FrameworkElement::SetWidth (double value
)
3029 SetValue (FrameworkElement::WidthProperty
, Value (value
));
3033 FrameworkElement::GetVerticalAlignment ()
3035 Value
*value
= GetValue (FrameworkElement::VerticalAlignmentProperty
);
3036 return (VerticalAlignment
) value
->AsInt32 ();
3040 FrameworkElement::SetVerticalAlignment (VerticalAlignment value
)
3042 SetValue (FrameworkElement::VerticalAlignmentProperty
, Value (value
));
3046 FrameworkElement::GetStyle ()
3048 Value
*value
= GetValue (FrameworkElement::StyleProperty
);
3049 return value
? value
->AsStyle () : NULL
;
3053 FrameworkElement::SetStyle (Style
*value
)
3055 SetValue (FrameworkElement::StyleProperty
, Value::CreateUnrefPtr (value
));
3059 FrameworkElement::GetMinWidth ()
3061 Value
*value
= GetValue (FrameworkElement::MinWidthProperty
);
3062 return value
->AsDouble ();
3066 FrameworkElement::SetMinWidth (double value
)
3068 SetValue (FrameworkElement::MinWidthProperty
, Value (value
));
3072 FrameworkElement::GetMinHeight ()
3074 Value
*value
= GetValue (FrameworkElement::MinHeightProperty
);
3075 return value
->AsDouble ();
3079 FrameworkElement::SetMinHeight (double value
)
3081 SetValue (FrameworkElement::MinHeightProperty
, Value (value
));
3085 FrameworkElement::GetMaxWidth ()
3087 Value
*value
= GetValue (FrameworkElement::MaxWidthProperty
);
3088 return value
->AsDouble ();
3092 FrameworkElement::SetMaxWidth (double value
)
3094 SetValue (FrameworkElement::MaxWidthProperty
, Value (value
));
3098 FrameworkElement::GetMaxHeight ()
3100 Value
*value
= GetValue (FrameworkElement::MaxHeightProperty
);
3101 return value
->AsDouble ();
3105 FrameworkElement::SetMaxHeight (double value
)
3107 SetValue (FrameworkElement::MaxHeightProperty
, Value (value
));
3111 FrameworkElement::GetMargin ()
3113 Value
*value
= GetValue (FrameworkElement::MarginProperty
);
3114 return value
? value
->AsThickness () : NULL
;
3118 FrameworkElement::SetMargin (Thickness
*value
)
3121 SetValue (FrameworkElement::MarginProperty
, Value (*value
));
3125 FrameworkElement::GetLanguage ()
3127 Value
*value
= GetValue (FrameworkElement::LanguageProperty
);
3128 return value
? value
->AsString () : NULL
;
3132 FrameworkElement::SetLanguage (const char *value
)
3134 SetValue (FrameworkElement::LanguageProperty
, Value (value
));
3138 FrameworkElement::GetHorizontalAlignment ()
3140 Value
*value
= GetValue (FrameworkElement::HorizontalAlignmentProperty
);
3141 return (HorizontalAlignment
) value
->AsInt32 ();
3145 FrameworkElement::SetHorizontalAlignment (HorizontalAlignment value
)
3147 SetValue (FrameworkElement::HorizontalAlignmentProperty
, Value (value
));
3151 FrameworkElement::GetHeight ()
3153 Value
*value
= GetValue (FrameworkElement::HeightProperty
);
3154 return value
->AsDouble ();
3158 FrameworkElement::SetHeight (double value
)
3160 SetValue (FrameworkElement::HeightProperty
, Value (value
));
3164 FrameworkElement::GetActualWidth ()
3166 Value
*value
= GetValue (FrameworkElement::ActualWidthProperty
);
3167 return value
->AsDouble ();
3171 FrameworkElement::SetActualWidth (double value
)
3173 SetValue (FrameworkElement::ActualWidthProperty
, Value (value
));
3177 FrameworkElement::GetActualHeight ()
3179 Value
*value
= GetValue (FrameworkElement::ActualHeightProperty
);
3180 return value
->AsDouble ();
3184 FrameworkElement::SetActualHeight (double value
)
3186 SetValue (FrameworkElement::ActualHeightProperty
, Value (value
));
3190 PowerEase::GetPower ()
3192 Value
*value
= GetValue (PowerEase::PowerProperty
);
3193 return value
->AsDouble ();
3197 PowerEase::SetPower (double value
)
3199 SetValue (PowerEase::PowerProperty
, Value (value
));
3203 ExponentialEase::GetExponent ()
3205 Value
*value
= GetValue (ExponentialEase::ExponentProperty
);
3206 return value
->AsDouble ();
3210 ExponentialEase::SetExponent (double value
)
3212 SetValue (ExponentialEase::ExponentProperty
, Value (value
));
3216 ElasticEase::GetSpringiness ()
3218 Value
*value
= GetValue (ElasticEase::SpringinessProperty
);
3219 return value
->AsDouble ();
3223 ElasticEase::SetSpringiness (double value
)
3225 SetValue (ElasticEase::SpringinessProperty
, Value (value
));
3229 ElasticEase::GetOscillations ()
3231 Value
*value
= GetValue (ElasticEase::OscillationsProperty
);
3232 return value
->AsInt32 ();
3236 ElasticEase::SetOscillations (gint32 value
)
3238 SetValue (ElasticEase::OscillationsProperty
, Value (value
));
3242 BounceEase::GetBounciness ()
3244 Value
*value
= GetValue (BounceEase::BouncinessProperty
);
3245 return value
->AsDouble ();
3249 BounceEase::SetBounciness (double value
)
3251 SetValue (BounceEase::BouncinessProperty
, Value (value
));
3255 BounceEase::GetBounces ()
3257 Value
*value
= GetValue (BounceEase::BouncesProperty
);
3258 return value
->AsInt32 ();
3262 BounceEase::SetBounces (gint32 value
)
3264 SetValue (BounceEase::BouncesProperty
, Value (value
));
3268 BackEase::GetAmplitude ()
3270 Value
*value
= GetValue (BackEase::AmplitudeProperty
);
3271 return value
->AsDouble ();
3275 BackEase::SetAmplitude (double value
)
3277 SetValue (BackEase::AmplitudeProperty
, Value (value
));
3281 SplinePointKeyFrame::GetKeySpline ()
3283 Value
*value
= DependencyObject::GetValue (SplinePointKeyFrame::KeySplineProperty
);
3284 return value
? value
->AsKeySpline () : NULL
;
3288 SplinePointKeyFrame::SetKeySpline (KeySpline
*value
)
3290 DependencyObject::SetValue (SplinePointKeyFrame::KeySplineProperty
, Value::CreateUnrefPtr (value
));
3293 EasingFunctionBase
*
3294 EasingPointKeyFrame::GetEasingFunction ()
3296 Value
*value
= DependencyObject::GetValue (EasingPointKeyFrame::EasingFunctionProperty
);
3297 return value
? value
->AsEasingFunctionBase () : NULL
;
3301 EasingPointKeyFrame::SetEasingFunction (EasingFunctionBase
*value
)
3303 DependencyObject::SetValue (EasingPointKeyFrame::EasingFunctionProperty
, Value::CreateUnrefPtr (value
));
3306 PointKeyFrameCollection
*
3307 PointAnimationUsingKeyFrames::GetKeyFrames ()
3309 Value
*value
= GetValue (PointAnimationUsingKeyFrames::KeyFramesProperty
);
3310 return value
? value
->AsPointKeyFrameCollection () : NULL
;
3314 PointAnimationUsingKeyFrames::SetKeyFrames (PointKeyFrameCollection
*value
)
3316 SetValue (PointAnimationUsingKeyFrames::KeyFramesProperty
, Value::CreateUnrefPtr (value
));
3320 SplineDoubleKeyFrame::GetKeySpline ()
3322 Value
*value
= DependencyObject::GetValue (SplineDoubleKeyFrame::KeySplineProperty
);
3323 return value
? value
->AsKeySpline () : NULL
;
3327 SplineDoubleKeyFrame::SetKeySpline (KeySpline
*value
)
3329 DependencyObject::SetValue (SplineDoubleKeyFrame::KeySplineProperty
, Value::CreateUnrefPtr (value
));
3332 EasingFunctionBase
*
3333 EasingDoubleKeyFrame::GetEasingFunction ()
3335 Value
*value
= DependencyObject::GetValue (EasingDoubleKeyFrame::EasingFunctionProperty
);
3336 return value
? value
->AsEasingFunctionBase () : NULL
;
3340 EasingDoubleKeyFrame::SetEasingFunction (EasingFunctionBase
*value
)
3342 DependencyObject::SetValue (EasingDoubleKeyFrame::EasingFunctionProperty
, Value::CreateUnrefPtr (value
));
3345 DoubleKeyFrameCollection
*
3346 DoubleAnimationUsingKeyFrames::GetKeyFrames ()
3348 Value
*value
= GetValue (DoubleAnimationUsingKeyFrames::KeyFramesProperty
);
3349 return value
? value
->AsDoubleKeyFrameCollection () : NULL
;
3353 DoubleAnimationUsingKeyFrames::SetKeyFrames (DoubleKeyFrameCollection
*value
)
3355 SetValue (DoubleAnimationUsingKeyFrames::KeyFramesProperty
, Value::CreateUnrefPtr (value
));
3359 TimelineMarker::GetType ()
3361 Value
*value
= GetValue (TimelineMarker::TypeProperty
);
3362 return value
? value
->AsString () : NULL
;
3366 TimelineMarker::SetType (const char *value
)
3368 SetValue (TimelineMarker::TypeProperty
, Value (value
));
3372 TimelineMarker::GetTime ()
3374 Value
*value
= GetValue (TimelineMarker::TimeProperty
);
3375 return value
->AsTimeSpan ();
3379 TimelineMarker::SetTime (TimeSpan value
)
3381 SetValue (TimelineMarker::TimeProperty
, Value (value
, Type::TIMESPAN
));
3385 TimelineMarker::GetText ()
3387 Value
*value
= GetValue (TimelineMarker::TextProperty
);
3388 return value
? value
->AsString () : NULL
;
3392 TimelineMarker::SetText (const char *value
)
3394 SetValue (TimelineMarker::TextProperty
, Value (value
));
3398 Timeline::GetSpeedRatio ()
3400 Value
*value
= GetValue (Timeline::SpeedRatioProperty
);
3401 return value
->AsDouble ();
3405 Timeline::SetSpeedRatio (double value
)
3407 SetValue (Timeline::SpeedRatioProperty
, Value (value
));
3411 Timeline::GetFillBehavior ()
3413 Value
*value
= GetValue (Timeline::FillBehaviorProperty
);
3414 return (FillBehavior
) value
->AsInt32 ();
3418 Timeline::SetFillBehavior (FillBehavior value
)
3420 SetValue (Timeline::FillBehaviorProperty
, Value (value
));
3424 Timeline::GetAutoReverse ()
3426 Value
*value
= GetValue (Timeline::AutoReverseProperty
);
3427 return value
->AsBool ();
3431 Timeline::SetAutoReverse (bool value
)
3433 SetValue (Timeline::AutoReverseProperty
, Value (value
));
3437 StylusPoint::GetY ()
3439 Value
*value
= GetValue (StylusPoint::YProperty
);
3440 return value
->AsDouble ();
3444 StylusPoint::SetY (double value
)
3446 SetValue (StylusPoint::YProperty
, Value (value
));
3450 StylusPoint::GetX ()
3452 Value
*value
= GetValue (StylusPoint::XProperty
);
3453 return value
->AsDouble ();
3457 StylusPoint::SetX (double value
)
3459 SetValue (StylusPoint::XProperty
, Value (value
));
3463 StylusPoint::GetPressureFactor ()
3465 Value
*value
= GetValue (StylusPoint::PressureFactorProperty
);
3466 return value
->AsDouble ();
3470 StylusPoint::SetPressureFactor (double value
)
3472 SetValue (StylusPoint::PressureFactorProperty
, Value (value
));
3476 StylusInfo::GetIsInverted ()
3478 Value
*value
= GetValue (StylusInfo::IsInvertedProperty
);
3479 return value
->AsBool ();
3483 StylusInfo::SetIsInverted (bool value
)
3485 SetValue (StylusInfo::IsInvertedProperty
, Value (value
));
3489 StylusInfo::GetDeviceType ()
3491 Value
*value
= GetValue (StylusInfo::DeviceTypeProperty
);
3492 return (TabletDeviceType
) value
->AsInt32 ();
3496 StylusInfo::SetDeviceType (TabletDeviceType value
)
3498 SetValue (StylusInfo::DeviceTypeProperty
, Value (value
));
3501 SetterBaseCollection
*
3502 Style::GetSetters ()
3504 Value
*value
= GetValue (Style::SettersProperty
);
3505 return value
? value
->AsSetterBaseCollection () : NULL
;
3509 Style::SetSetters (SetterBaseCollection
*value
)
3511 SetValue (Style::SettersProperty
, Value::CreateUnrefPtr (value
));
3515 Style::GetIsSealed ()
3517 Value
*value
= GetValue (Style::IsSealedProperty
);
3518 return value
->AsBool ();
3522 Style::SetIsSealed (bool value
)
3524 SetValue (Style::IsSealedProperty
, Value (value
));
3527 StylusPointCollection
*
3528 Stroke::GetStylusPoints ()
3530 Value
*value
= GetValue (Stroke::StylusPointsProperty
);
3531 return value
? value
->AsStylusPointCollection () : NULL
;
3535 Stroke::SetStylusPoints (StylusPointCollection
*value
)
3537 SetValue (Stroke::StylusPointsProperty
, Value::CreateUnrefPtr (value
));
3541 Stroke::GetDrawingAttributes ()
3543 Value
*value
= GetValue (Stroke::DrawingAttributesProperty
);
3544 return value
? value
->AsDrawingAttributes () : NULL
;
3548 Stroke::SetDrawingAttributes (DrawingAttributes
*value
)
3550 SetValue (Stroke::DrawingAttributesProperty
, Value::CreateUnrefPtr (value
));
3554 SetterBase::GetIsSealed ()
3556 Value
*value
= GetValue (SetterBase::IsSealedProperty
);
3557 return value
->AsBool ();
3561 SetterBase::SetIsSealed (bool value
)
3563 SetValue (SetterBase::IsSealedProperty
, Value (value
));
3567 RowDefinition::GetMinHeight ()
3569 Value
*value
= GetValue (RowDefinition::MinHeightProperty
);
3570 return value
->AsDouble ();
3574 RowDefinition::SetMinHeight (double value
)
3576 SetValue (RowDefinition::MinHeightProperty
, Value (value
));
3580 RowDefinition::GetMaxHeight ()
3582 Value
*value
= GetValue (RowDefinition::MaxHeightProperty
);
3583 return value
->AsDouble ();
3587 RowDefinition::SetMaxHeight (double value
)
3589 SetValue (RowDefinition::MaxHeightProperty
, Value (value
));
3593 RowDefinition::GetHeight ()
3595 Value
*value
= GetValue (RowDefinition::HeightProperty
);
3596 return value
? value
->AsGridLength () : NULL
;
3600 RowDefinition::SetHeight (GridLength
*value
)
3603 SetValue (RowDefinition::HeightProperty
, Value (*value
));
3607 RowDefinition::GetActualHeight ()
3609 Value
*value
= GetValue (RowDefinition::ActualHeightProperty
);
3610 return value
->AsDouble ();
3614 RowDefinition::SetActualHeight (double value
)
3616 SetValue (RowDefinition::ActualHeightProperty
, Value (value
));
3620 PathFigure::GetStartPoint ()
3622 Value
*value
= GetValue (PathFigure::StartPointProperty
);
3623 return value
? value
->AsPoint () : NULL
;
3627 PathFigure::SetStartPoint (Point
*value
)
3630 SetValue (PathFigure::StartPointProperty
, Value (*value
));
3633 PathSegmentCollection
*
3634 PathFigure::GetSegments ()
3636 Value
*value
= GetValue (PathFigure::SegmentsProperty
);
3637 return value
? value
->AsPathSegmentCollection () : NULL
;
3641 PathFigure::SetSegments (PathSegmentCollection
*value
)
3643 SetValue (PathFigure::SegmentsProperty
, Value::CreateUnrefPtr (value
));
3647 PathFigure::GetIsFilled ()
3649 Value
*value
= GetValue (PathFigure::IsFilledProperty
);
3650 return value
->AsBool ();
3654 PathFigure::SetIsFilled (bool value
)
3656 SetValue (PathFigure::IsFilledProperty
, Value (value
));
3660 PathFigure::GetIsClosed ()
3662 Value
*value
= GetValue (PathFigure::IsClosedProperty
);
3663 return value
->AsBool ();
3667 PathFigure::SetIsClosed (bool value
)
3669 SetValue (PathFigure::IsClosedProperty
, Value (value
));
3673 OutOfBrowserSettings::GetEnableGPUAcceleration ()
3675 Value
*value
= GetValue (OutOfBrowserSettings::EnableGPUAccelerationProperty
);
3676 return value
->AsBool ();
3680 OutOfBrowserSettings::SetEnableGPUAcceleration (bool value
)
3682 SetValue (OutOfBrowserSettings::EnableGPUAccelerationProperty
, Value (value
));
3686 OutOfBrowserSettings::GetBlurb ()
3688 Value
*value
= GetValue (OutOfBrowserSettings::BlurbProperty
);
3689 return value
? value
->AsString () : NULL
;
3693 OutOfBrowserSettings::SetBlurb (const char *value
)
3695 SetValue (OutOfBrowserSettings::BlurbProperty
, Value (value
));
3699 NameScope::GetNameScope (DependencyObject
*obj
)
3701 Value
*value
= (!obj
) ? NULL
: obj
->GetValue (NameScope::NameScopeProperty
);
3702 if (!value
) value
= Deployment::GetCurrent ()->GetTypes ()->GetProperty (NameScope::NameScopeProperty
)->GetDefaultValue();
3703 return value
? value
->AsNameScope () : NULL
;
3707 NameScope::SetNameScope (DependencyObject
*obj
, NameScope
*value
)
3710 obj
->SetValue (NameScope::NameScopeProperty
, Value::CreateUnrefPtr (value
));
3714 MultiScaleSubImage::GetZIndex ()
3716 Value
*value
= GetValue (MultiScaleSubImage::ZIndexProperty
);
3717 return value
->AsInt32 ();
3721 MultiScaleSubImage::SetZIndex (gint32 value
)
3723 SetValue (MultiScaleSubImage::ZIndexProperty
, Value (value
));
3727 MultiScaleSubImage::GetViewportWidth ()
3729 Value
*value
= GetValue (MultiScaleSubImage::ViewportWidthProperty
);
3730 return value
->AsDouble ();
3734 MultiScaleSubImage::SetViewportWidth (double value
)
3736 SetValue (MultiScaleSubImage::ViewportWidthProperty
, Value (value
));
3740 MultiScaleSubImage::GetViewportOrigin ()
3742 Value
*value
= GetValue (MultiScaleSubImage::ViewportOriginProperty
);
3743 return value
? value
->AsPoint () : NULL
;
3747 MultiScaleSubImage::SetViewportOrigin (Point
*value
)
3750 SetValue (MultiScaleSubImage::ViewportOriginProperty
, Value (*value
));
3754 MultiScaleSubImage::GetOpacity ()
3756 Value
*value
= GetValue (MultiScaleSubImage::OpacityProperty
);
3757 return value
->AsDouble ();
3761 MultiScaleSubImage::SetOpacity (double value
)
3763 SetValue (MultiScaleSubImage::OpacityProperty
, Value (value
));
3767 MultiScaleSubImage::GetAspectRatio ()
3769 Value
*value
= GetValue (MultiScaleSubImage::AspectRatioProperty
);
3770 return value
->AsDouble ();
3774 MediaAttribute::GetValue ()
3776 Value
*value
= DependencyObject::GetValue (MediaAttribute::ValueProperty
);
3777 return value
? value
->AsString () : NULL
;
3781 MediaAttribute::SetValue (const char *value
)
3783 DependencyObject::SetValue (MediaAttribute::ValueProperty
, Value (value
));
3787 Matrix::GetOffsetY ()
3789 Value
*value
= GetValue (Matrix::OffsetYProperty
);
3790 return value
->AsDouble ();
3794 Matrix::SetOffsetY (double value
)
3796 SetValue (Matrix::OffsetYProperty
, Value (value
));
3800 Matrix::GetOffsetX ()
3802 Value
*value
= GetValue (Matrix::OffsetXProperty
);
3803 return value
->AsDouble ();
3807 Matrix::SetOffsetX (double value
)
3809 SetValue (Matrix::OffsetXProperty
, Value (value
));
3815 Value
*value
= GetValue (Matrix::M22Property
);
3816 return value
->AsDouble ();
3820 Matrix::SetM22 (double value
)
3822 SetValue (Matrix::M22Property
, Value (value
));
3828 Value
*value
= GetValue (Matrix::M21Property
);
3829 return value
->AsDouble ();
3833 Matrix::SetM21 (double value
)
3835 SetValue (Matrix::M21Property
, Value (value
));
3841 Value
*value
= GetValue (Matrix::M12Property
);
3842 return value
->AsDouble ();
3846 Matrix::SetM12 (double value
)
3848 SetValue (Matrix::M12Property
, Value (value
));
3854 Value
*value
= GetValue (Matrix::M11Property
);
3855 return value
->AsDouble ();
3859 Matrix::SetM11 (double value
)
3861 SetValue (Matrix::M11Property
, Value (value
));
3865 KeySpline::GetControlPoint2 ()
3867 Value
*value
= GetValue (KeySpline::ControlPoint2Property
);
3868 return value
? value
->AsPoint () : NULL
;
3872 KeySpline::SetControlPoint2 (Point
*value
)
3875 SetValue (KeySpline::ControlPoint2Property
, Value (*value
));
3879 KeySpline::GetControlPoint1 ()
3881 Value
*value
= GetValue (KeySpline::ControlPoint1Property
);
3882 return value
? value
->AsPoint () : NULL
;
3886 KeySpline::SetControlPoint1 (Point
*value
)
3889 SetValue (KeySpline::ControlPoint1Property
, Value (*value
));
3893 Inline::GetTextDecorations ()
3895 Value
*value
= GetValue (Inline::TextDecorationsProperty
);
3896 return (TextDecorations
) value
->AsInt32 ();
3900 Inline::SetTextDecorations (TextDecorations value
)
3902 SetValue (Inline::TextDecorationsProperty
, Value (value
));
3906 Inline::GetLanguage ()
3908 Value
*value
= GetValue (Inline::LanguageProperty
);
3909 return value
? value
->AsString () : NULL
;
3913 Inline::SetLanguage (const char *value
)
3915 SetValue (Inline::LanguageProperty
, Value (value
));
3919 Inline::GetForeground ()
3921 Value
*value
= GetValue (Inline::ForegroundProperty
);
3922 return value
? value
->AsBrush () : NULL
;
3926 Inline::SetForeground (Brush
*value
)
3928 SetValue (Inline::ForegroundProperty
, Value::CreateUnrefPtr (value
));
3932 Inline::GetFontWeight ()
3934 Value
*value
= GetValue (Inline::FontWeightProperty
);
3935 return value
? value
->AsFontWeight () : NULL
;
3939 Inline::SetFontWeight (FontWeight
*value
)
3942 SetValue (Inline::FontWeightProperty
, Value (*value
));
3946 Inline::GetFontStyle ()
3948 Value
*value
= GetValue (Inline::FontStyleProperty
);
3949 return value
? value
->AsFontStyle () : NULL
;
3953 Inline::SetFontStyle (FontStyle
*value
)
3956 SetValue (Inline::FontStyleProperty
, Value (*value
));
3960 Inline::GetFontStretch ()
3962 Value
*value
= GetValue (Inline::FontStretchProperty
);
3963 return value
? value
->AsFontStretch () : NULL
;
3967 Inline::SetFontStretch (FontStretch
*value
)
3970 SetValue (Inline::FontStretchProperty
, Value (*value
));
3974 Inline::GetFontSource ()
3976 Value
*value
= GetValue (Inline::FontSourceProperty
);
3977 return value
? value
->AsFontSource () : NULL
;
3981 Inline::SetFontSource (FontSource
*value
)
3984 SetValue (Inline::FontSourceProperty
, Value (*value
));
3988 Inline::GetFontSize ()
3990 Value
*value
= GetValue (Inline::FontSizeProperty
);
3991 return value
->AsDouble ();
3995 Inline::SetFontSize (double value
)
3997 SetValue (Inline::FontSizeProperty
, Value (value
));
4001 Inline::GetFontFamily ()
4003 Value
*value
= GetValue (Inline::FontFamilyProperty
);
4004 return value
? value
->AsFontFamily () : NULL
;
4008 Inline::SetFontFamily (FontFamily
*value
)
4011 SetValue (Inline::FontFamilyProperty
, Value (*value
));
4015 GradientStop::GetOffset ()
4017 Value
*value
= GetValue (GradientStop::OffsetProperty
);
4018 return value
->AsDouble ();
4022 GradientStop::SetOffset (double value
)
4024 SetValue (GradientStop::OffsetProperty
, Value (value
));
4028 GradientStop::GetColor ()
4030 Value
*value
= GetValue (GradientStop::ColorProperty
);
4031 return value
? value
->AsColor () : NULL
;
4035 GradientStop::SetColor (Color
*value
)
4038 SetValue (GradientStop::ColorProperty
, Value (*value
));
4042 ExtensionPart::GetSource ()
4044 Value
*value
= GetValue (ExtensionPart::SourceProperty
);
4045 return value
? value
->AsUri () : NULL
;
4049 ExtensionPart::SetSource (Uri
*value
)
4052 SetValue (ExtensionPart::SourceProperty
, Value (*value
));
4056 Geometry::GetTransform ()
4058 Value
*value
= GetValue (Geometry::TransformProperty
);
4059 return value
? value
->AsTransform () : NULL
;
4063 Geometry::SetTransform (Transform
*value
)
4065 SetValue (Geometry::TransformProperty
, Value::CreateUnrefPtr (value
));
4069 DrawingAttributes::GetWidth ()
4071 Value
*value
= GetValue (DrawingAttributes::WidthProperty
);
4072 return value
->AsDouble ();
4076 DrawingAttributes::SetWidth (double value
)
4078 SetValue (DrawingAttributes::WidthProperty
, Value (value
));
4082 DrawingAttributes::GetOutlineColor ()
4084 Value
*value
= GetValue (DrawingAttributes::OutlineColorProperty
);
4085 return value
? value
->AsColor () : NULL
;
4089 DrawingAttributes::SetOutlineColor (Color
*value
)
4092 SetValue (DrawingAttributes::OutlineColorProperty
, Value (*value
));
4096 DrawingAttributes::GetHeight ()
4098 Value
*value
= GetValue (DrawingAttributes::HeightProperty
);
4099 return value
->AsDouble ();
4103 DrawingAttributes::SetHeight (double value
)
4105 SetValue (DrawingAttributes::HeightProperty
, Value (value
));
4109 DrawingAttributes::GetColor ()
4111 Value
*value
= GetValue (DrawingAttributes::ColorProperty
);
4112 return value
? value
->AsColor () : NULL
;
4116 DrawingAttributes::SetColor (Color
*value
)
4119 SetValue (DrawingAttributes::ColorProperty
, Value (*value
));
4123 Downloader::GetUri ()
4125 Value
*value
= GetValue (Downloader::UriProperty
);
4126 return value
? value
->AsUri () : NULL
;
4130 Downloader::SetUri (Uri
*value
)
4133 SetValue (Downloader::UriProperty
, Value (*value
));
4137 Downloader::GetStatusText ()
4139 Value
*value
= GetValue (Downloader::StatusTextProperty
);
4140 return value
? value
->AsString () : NULL
;
4144 Downloader::SetStatusText (const char *value
)
4146 SetValue (Downloader::StatusTextProperty
, Value (value
));
4150 Downloader::GetStatus ()
4152 Value
*value
= GetValue (Downloader::StatusProperty
);
4153 return value
->AsInt32 ();
4157 Downloader::SetStatus (gint32 value
)
4159 SetValue (Downloader::StatusProperty
, Value (value
));
4163 Downloader::GetDownloadProgress ()
4165 Value
*value
= GetValue (Downloader::DownloadProgressProperty
);
4166 return value
->AsDouble ();
4170 Downloader::SetDownloadProgress (double value
)
4172 SetValue (Downloader::DownloadProgressProperty
, Value (value
));
4176 Deployment::GetSurface ()
4178 Value
*value
= GetValue (Deployment::SurfaceProperty
);
4179 return value
? value
->AsSurface () : NULL
;
4183 Deployment::SetSurface (Surface
*value
)
4185 SetValue (Deployment::SurfaceProperty
, Value::CreateUnrefPtr (value
));
4189 Deployment::GetRuntimeVersion ()
4191 Value
*value
= GetValue (Deployment::RuntimeVersionProperty
);
4192 return value
? value
->AsString () : NULL
;
4196 Deployment::SetRuntimeVersion (const char *value
)
4198 SetValue (Deployment::RuntimeVersionProperty
, Value (value
));
4201 AssemblyPartCollection
*
4202 Deployment::GetParts ()
4204 Value
*value
= GetValue (Deployment::PartsProperty
);
4205 return value
? value
->AsAssemblyPartCollection () : NULL
;
4209 Deployment::SetParts (AssemblyPartCollection
*value
)
4211 SetValue (Deployment::PartsProperty
, Value::CreateUnrefPtr (value
));
4214 ExternalPartCollection
*
4215 Deployment::GetExternalParts ()
4217 Value
*value
= GetValue (Deployment::ExternalPartsProperty
);
4218 return value
? value
->AsExternalPartCollection () : NULL
;
4222 Deployment::SetExternalParts (ExternalPartCollection
*value
)
4224 SetValue (Deployment::ExternalPartsProperty
, Value::CreateUnrefPtr (value
));
4228 Deployment::GetExternalCallersFromCrossDomain ()
4230 Value
*value
= GetValue (Deployment::ExternalCallersFromCrossDomainProperty
);
4231 return (CrossDomainAccess
) value
->AsInt32 ();
4235 Deployment::SetExternalCallersFromCrossDomain (CrossDomainAccess value
)
4237 SetValue (Deployment::ExternalCallersFromCrossDomainProperty
, Value (value
));
4241 MultiScaleTileSource::GetTileWidth ()
4243 Value
*value
= GetValue (MultiScaleTileSource::TileWidthProperty
);
4244 return value
->AsInt32 ();
4248 MultiScaleTileSource::SetTileWidth (gint32 value
)
4250 SetValue (MultiScaleTileSource::TileWidthProperty
, Value (value
));
4254 MultiScaleTileSource::GetTileOverlap ()
4256 Value
*value
= GetValue (MultiScaleTileSource::TileOverlapProperty
);
4257 return value
->AsInt32 ();
4261 MultiScaleTileSource::SetTileOverlap (gint32 value
)
4263 SetValue (MultiScaleTileSource::TileOverlapProperty
, Value (value
));
4267 MultiScaleTileSource::GetTileHeight ()
4269 Value
*value
= GetValue (MultiScaleTileSource::TileHeightProperty
);
4270 return value
->AsInt32 ();
4274 MultiScaleTileSource::SetTileHeight (gint32 value
)
4276 SetValue (MultiScaleTileSource::TileHeightProperty
, Value (value
));
4280 MultiScaleTileSource::GetTileBlendTime ()
4282 Value
*value
= GetValue (MultiScaleTileSource::TileBlendTimeProperty
);
4283 return value
->AsTimeSpan ();
4287 MultiScaleTileSource::SetTileBlendTime (TimeSpan value
)
4289 SetValue (MultiScaleTileSource::TileBlendTimeProperty
, Value (value
, Type::TIMESPAN
));
4293 MultiScaleTileSource::GetImageWidth ()
4295 Value
*value
= GetValue (MultiScaleTileSource::ImageWidthProperty
);
4296 return value
->AsDouble ();
4300 MultiScaleTileSource::SetImageWidth (double value
)
4302 SetValue (MultiScaleTileSource::ImageWidthProperty
, Value (value
));
4306 MultiScaleTileSource::GetImageHeight ()
4308 Value
*value
= GetValue (MultiScaleTileSource::ImageHeightProperty
);
4309 return value
->AsDouble ();
4313 MultiScaleTileSource::SetImageHeight (double value
)
4315 SetValue (MultiScaleTileSource::ImageHeightProperty
, Value (value
));
4319 ColumnDefinition::GetWidth ()
4321 Value
*value
= GetValue (ColumnDefinition::WidthProperty
);
4322 return value
? value
->AsGridLength () : NULL
;
4326 ColumnDefinition::SetWidth (GridLength
*value
)
4329 SetValue (ColumnDefinition::WidthProperty
, Value (*value
));
4333 ColumnDefinition::GetMinWidth ()
4335 Value
*value
= GetValue (ColumnDefinition::MinWidthProperty
);
4336 return value
->AsDouble ();
4340 ColumnDefinition::SetMinWidth (double value
)
4342 SetValue (ColumnDefinition::MinWidthProperty
, Value (value
));
4346 ColumnDefinition::GetMaxWidth ()
4348 Value
*value
= GetValue (ColumnDefinition::MaxWidthProperty
);
4349 return value
->AsDouble ();
4353 ColumnDefinition::SetMaxWidth (double value
)
4355 SetValue (ColumnDefinition::MaxWidthProperty
, Value (value
));
4359 ColumnDefinition::GetActualWidth ()
4361 Value
*value
= GetValue (ColumnDefinition::ActualWidthProperty
);
4362 return value
->AsDouble ();
4366 ColumnDefinition::SetActualWidth (double value
)
4368 SetValue (ColumnDefinition::ActualWidthProperty
, Value (value
));
4372 Collection::GetCount ()
4374 Value
*value
= GetValue (Collection::CountProperty
);
4375 return value
->AsInt32 ();
4379 Collection::SetCount (gint32 value
)
4381 SetValue (Collection::CountProperty
, Value (value
));
4385 UIElement::GetVisibility ()
4387 Value
*value
= GetValue (UIElement::VisibilityProperty
);
4388 return (Visibility
) value
->AsInt32 ();
4392 UIElement::SetVisibility (Visibility value
)
4394 SetValue (UIElement::VisibilityProperty
, Value (value
));
4398 UIElement::GetUseLayoutRounding ()
4400 Value
*value
= GetValue (UIElement::UseLayoutRoundingProperty
);
4401 return value
->AsBool ();
4405 UIElement::SetUseLayoutRounding (bool value
)
4407 SetValue (UIElement::UseLayoutRoundingProperty
, Value (value
));
4411 UIElement::GetTriggers ()
4413 Value
*value
= GetValue (UIElement::TriggersProperty
);
4414 return value
? value
->AsTriggerCollection () : NULL
;
4418 UIElement::SetTriggers (TriggerCollection
*value
)
4420 SetValue (UIElement::TriggersProperty
, Value::CreateUnrefPtr (value
));
4423 ResourceDictionary
*
4424 UIElement::GetResources ()
4426 Value
*value
= GetValue (UIElement::ResourcesProperty
);
4427 return value
? value
->AsResourceDictionary () : NULL
;
4431 UIElement::SetResources (ResourceDictionary
*value
)
4433 SetValue (UIElement::ResourcesProperty
, Value::CreateUnrefPtr (value
));
4437 UIElement::GetRenderTransform ()
4439 Value
*value
= GetValue (UIElement::RenderTransformProperty
);
4440 return value
? value
->AsTransform () : NULL
;
4444 UIElement::SetRenderTransform (Transform
*value
)
4446 SetValue (UIElement::RenderTransformProperty
, Value::CreateUnrefPtr (value
));
4450 UIElement::GetRenderTransformOrigin ()
4452 Value
*value
= GetValue (UIElement::RenderTransformOriginProperty
);
4453 return value
? value
->AsPoint () : NULL
;
4457 UIElement::SetRenderTransformOrigin (Point
*value
)
4460 SetValue (UIElement::RenderTransformOriginProperty
, Value (*value
));
4464 UIElement::GetOpacity ()
4466 Value
*value
= GetValue (UIElement::OpacityProperty
);
4467 return value
->AsDouble ();
4471 UIElement::SetOpacity (double value
)
4473 SetValue (UIElement::OpacityProperty
, Value (value
));
4477 UIElement::GetOpacityMask ()
4479 Value
*value
= GetValue (UIElement::OpacityMaskProperty
);
4480 return value
? value
->AsBrush () : NULL
;
4484 UIElement::SetOpacityMask (Brush
*value
)
4486 SetValue (UIElement::OpacityMaskProperty
, Value::CreateUnrefPtr (value
));
4490 UIElement::GetIsHitTestVisible ()
4492 Value
*value
= GetValue (UIElement::IsHitTestVisibleProperty
);
4493 return value
->AsBool ();
4497 UIElement::SetIsHitTestVisible (bool value
)
4499 SetValue (UIElement::IsHitTestVisibleProperty
, Value (value
));
4503 UIElement::GetCursor ()
4505 Value
*value
= GetValue (UIElement::CursorProperty
);
4506 return (MouseCursor
) value
->AsInt32 ();
4510 UIElement::SetCursor (MouseCursor value
)
4512 SetValue (UIElement::CursorProperty
, Value (value
));
4516 UIElement::GetClip ()
4518 Value
*value
= GetValue (UIElement::ClipProperty
);
4519 return value
? value
->AsGeometry () : NULL
;
4523 UIElement::SetClip (Geometry
*value
)
4525 SetValue (UIElement::ClipProperty
, Value::CreateUnrefPtr (value
));
4529 EasingFunctionBase::GetEasingMode ()
4531 Value
*value
= GetValue (EasingFunctionBase::EasingModeProperty
);
4532 return (EasingMode
) value
->AsInt32 ();
4536 EasingFunctionBase::SetEasingMode (EasingMode value
)
4538 SetValue (EasingFunctionBase::EasingModeProperty
, Value (value
));
4541 ResourceDictionary
*
4542 Application::GetResources ()
4544 Value
*value
= GetValue (Application::ResourcesProperty
);
4545 return value
? value
->AsResourceDictionary () : NULL
;
4549 Application::SetResources (ResourceDictionary
*value
)
4551 SetValue (Application::ResourcesProperty
, Value::CreateUnrefPtr (value
));
4555 SplineColorKeyFrame::GetKeySpline ()
4557 Value
*value
= DependencyObject::GetValue (SplineColorKeyFrame::KeySplineProperty
);
4558 return value
? value
->AsKeySpline () : NULL
;
4562 SplineColorKeyFrame::SetKeySpline (KeySpline
*value
)
4564 DependencyObject::SetValue (SplineColorKeyFrame::KeySplineProperty
, Value::CreateUnrefPtr (value
));
4567 EasingFunctionBase
*
4568 EasingColorKeyFrame::GetEasingFunction ()
4570 Value
*value
= DependencyObject::GetValue (EasingColorKeyFrame::EasingFunctionProperty
);
4571 return value
? value
->AsEasingFunctionBase () : NULL
;
4575 EasingColorKeyFrame::SetEasingFunction (EasingFunctionBase
*value
)
4577 DependencyObject::SetValue (EasingColorKeyFrame::EasingFunctionProperty
, Value::CreateUnrefPtr (value
));
4580 ColorKeyFrameCollection
*
4581 ColorAnimationUsingKeyFrames::GetKeyFrames ()
4583 Value
*value
= GetValue (ColorAnimationUsingKeyFrames::KeyFramesProperty
);
4584 return value
? value
->AsColorKeyFrameCollection () : NULL
;
4588 ColorAnimationUsingKeyFrames::SetKeyFrames (ColorKeyFrameCollection
*value
)
4590 SetValue (ColorAnimationUsingKeyFrames::KeyFramesProperty
, Value::CreateUnrefPtr (value
));
4594 BitmapImage::GetUriSource ()
4596 Value
*value
= GetValue (BitmapImage::UriSourceProperty
);
4597 return value
? value
->AsUri () : NULL
;
4601 BitmapImage::SetUriSource (Uri
*value
)
4604 SetValue (BitmapImage::UriSourceProperty
, Value (*value
));
4608 BitmapImage::GetProgress ()
4610 Value
*value
= GetValue (BitmapImage::ProgressProperty
);
4611 return value
->AsDouble ();
4615 BitmapImage::SetProgress (double value
)
4617 SetValue (BitmapImage::ProgressProperty
, Value (value
));
4621 TranslateTransform::GetY ()
4623 Value
*value
= GetValue (TranslateTransform::YProperty
);
4624 return value
->AsDouble ();
4628 TranslateTransform::SetY (double value
)
4630 SetValue (TranslateTransform::YProperty
, Value (value
));
4634 TranslateTransform::GetX ()
4636 Value
*value
= GetValue (TranslateTransform::XProperty
);
4637 return value
->AsDouble ();
4641 TranslateTransform::SetX (double value
)
4643 SetValue (TranslateTransform::XProperty
, Value (value
));
4646 TransformCollection
*
4647 TransformGroup::GetChildren ()
4649 Value
*value
= GetValue (TransformGroup::ChildrenProperty
);
4650 return value
? value
->AsTransformCollection () : NULL
;
4654 TransformGroup::SetChildren (TransformCollection
*value
)
4656 SetValue (TransformGroup::ChildrenProperty
, Value::CreateUnrefPtr (value
));
4660 TextBox::GetVerticalScrollBarVisibility ()
4662 Value
*value
= GetValue (TextBox::VerticalScrollBarVisibilityProperty
);
4663 return (ScrollBarVisibility
) value
->AsInt32 ();
4667 TextBox::SetVerticalScrollBarVisibility (ScrollBarVisibility value
)
4669 SetValue (TextBox::VerticalScrollBarVisibilityProperty
, Value (value
));
4673 TextBox::GetTextWrapping ()
4675 Value
*value
= GetValue (TextBox::TextWrappingProperty
);
4676 return (TextWrapping
) value
->AsInt32 ();
4680 TextBox::SetTextWrapping (TextWrapping value
)
4682 SetValue (TextBox::TextWrappingProperty
, Value (value
));
4688 Value
*value
= GetValue (TextBox::TextProperty
);
4689 return value
? value
->AsString () : NULL
;
4693 TextBox::SetText (const char *value
)
4695 SetValue (TextBox::TextProperty
, Value (value
));
4699 TextBox::GetTextAlignment ()
4701 Value
*value
= GetValue (TextBox::TextAlignmentProperty
);
4702 return (TextAlignment
) value
->AsInt32 ();
4706 TextBox::SetTextAlignment (TextAlignment value
)
4708 SetValue (TextBox::TextAlignmentProperty
, Value (value
));
4712 TextBox::GetSelectionStart ()
4714 Value
*value
= GetValue (TextBox::SelectionStartProperty
);
4715 return value
->AsInt32 ();
4719 TextBox::SetSelectionStart (gint32 value
)
4721 SetValue (TextBox::SelectionStartProperty
, Value (value
));
4725 TextBox::GetSelectionLength ()
4727 Value
*value
= GetValue (TextBox::SelectionLengthProperty
);
4728 return value
->AsInt32 ();
4732 TextBox::SetSelectionLength (gint32 value
)
4734 SetValue (TextBox::SelectionLengthProperty
, Value (value
));
4738 TextBox::GetSelectionForeground ()
4740 Value
*value
= GetValue (TextBox::SelectionForegroundProperty
);
4741 return value
? value
->AsBrush () : NULL
;
4745 TextBox::SetSelectionForeground (Brush
*value
)
4747 SetValue (TextBox::SelectionForegroundProperty
, Value::CreateUnrefPtr (value
));
4751 TextBox::GetSelectionBackground ()
4753 Value
*value
= GetValue (TextBox::SelectionBackgroundProperty
);
4754 return value
? value
->AsBrush () : NULL
;
4758 TextBox::SetSelectionBackground (Brush
*value
)
4760 SetValue (TextBox::SelectionBackgroundProperty
, Value::CreateUnrefPtr (value
));
4764 TextBox::GetSelectedText ()
4766 Value
*value
= GetValue (TextBox::SelectedTextProperty
);
4767 return value
? value
->AsString () : NULL
;
4771 TextBox::SetSelectedText (const char *value
)
4773 SetValue (TextBox::SelectedTextProperty
, Value (value
));
4777 TextBox::GetMaxLength ()
4779 Value
*value
= GetValue (TextBox::MaxLengthProperty
);
4780 return value
->AsInt32 ();
4784 TextBox::SetMaxLength (gint32 value
)
4786 SetValue (TextBox::MaxLengthProperty
, Value (value
));
4790 TextBox::GetIsReadOnly ()
4792 Value
*value
= GetValue (TextBox::IsReadOnlyProperty
);
4793 return value
->AsBool ();
4797 TextBox::SetIsReadOnly (bool value
)
4799 SetValue (TextBox::IsReadOnlyProperty
, Value (value
));
4803 TextBox::GetHorizontalScrollBarVisibility ()
4805 Value
*value
= GetValue (TextBox::HorizontalScrollBarVisibilityProperty
);
4806 return (ScrollBarVisibility
) value
->AsInt32 ();
4810 TextBox::SetHorizontalScrollBarVisibility (ScrollBarVisibility value
)
4812 SetValue (TextBox::HorizontalScrollBarVisibilityProperty
, Value (value
));
4816 TextBox::GetFontSource ()
4818 Value
*value
= GetValue (TextBox::FontSourceProperty
);
4819 return value
? value
->AsFontSource () : NULL
;
4823 TextBox::SetFontSource (FontSource
*value
)
4826 SetValue (TextBox::FontSourceProperty
, Value (*value
));
4830 TextBox::GetCaretBrush ()
4832 Value
*value
= GetValue (TextBox::CaretBrushProperty
);
4833 return value
? value
->AsBrush () : NULL
;
4837 TextBox::SetCaretBrush (Brush
*value
)
4839 SetValue (TextBox::CaretBrushProperty
, Value::CreateUnrefPtr (value
));
4843 TextBox::GetAcceptsReturn ()
4845 Value
*value
= GetValue (TextBox::AcceptsReturnProperty
);
4846 return value
->AsBool ();
4850 TextBox::SetAcceptsReturn (bool value
)
4852 SetValue (TextBox::AcceptsReturnProperty
, Value (value
));
4856 Storyboard::GetTargetProperty (DependencyObject
*obj
)
4858 Value
*value
= (!obj
) ? NULL
: obj
->GetValue (Storyboard::TargetPropertyProperty
);
4859 if (!value
) value
= Deployment::GetCurrent ()->GetTypes ()->GetProperty (Storyboard::TargetPropertyProperty
)->GetDefaultValue();
4860 return value
? value
->AsPropertyPath () : NULL
;
4864 Storyboard::SetTargetProperty (DependencyObject
*obj
, PropertyPath
*value
)
4868 obj
->SetValue (Storyboard::TargetPropertyProperty
, Value (*value
));
4872 Storyboard::GetTargetName (DependencyObject
*obj
)
4874 Value
*value
= (!obj
) ? NULL
: obj
->GetValue (Storyboard::TargetNameProperty
);
4875 if (!value
) value
= Deployment::GetCurrent ()->GetTypes ()->GetProperty (Storyboard::TargetNameProperty
)->GetDefaultValue();
4876 return value
? value
->AsString () : NULL
;
4880 Storyboard::SetTargetName (DependencyObject
*obj
, const char *value
)
4883 obj
->SetValue (Storyboard::TargetNameProperty
, Value (value
));
4887 SkewTransform::GetCenterY ()
4889 Value
*value
= GetValue (SkewTransform::CenterYProperty
);
4890 return value
->AsDouble ();
4894 SkewTransform::SetCenterY (double value
)
4896 SetValue (SkewTransform::CenterYProperty
, Value (value
));
4900 SkewTransform::GetCenterX ()
4902 Value
*value
= GetValue (SkewTransform::CenterXProperty
);
4903 return value
->AsDouble ();
4907 SkewTransform::SetCenterX (double value
)
4909 SetValue (SkewTransform::CenterXProperty
, Value (value
));
4913 SkewTransform::GetAngleY ()
4915 Value
*value
= GetValue (SkewTransform::AngleYProperty
);
4916 return value
->AsDouble ();
4920 SkewTransform::SetAngleY (double value
)
4922 SetValue (SkewTransform::AngleYProperty
, Value (value
));
4926 SkewTransform::GetAngleX ()
4928 Value
*value
= GetValue (SkewTransform::AngleXProperty
);
4929 return value
->AsDouble ();
4933 SkewTransform::SetAngleX (double value
)
4935 SetValue (SkewTransform::AngleXProperty
, Value (value
));
4939 SetterBaseCollection::GetIsSealed ()
4941 Value
*value
= GetValue (SetterBaseCollection::IsSealedProperty
);
4942 return value
->AsBool ();
4946 SetterBaseCollection::SetIsSealed (bool value
)
4948 SetValue (SetterBaseCollection::IsSealedProperty
, Value (value
));
4952 ScaleTransform::GetScaleY ()
4954 Value
*value
= GetValue (ScaleTransform::ScaleYProperty
);
4955 return value
->AsDouble ();
4959 ScaleTransform::SetScaleY (double value
)
4961 SetValue (ScaleTransform::ScaleYProperty
, Value (value
));
4965 ScaleTransform::GetScaleX ()
4967 Value
*value
= GetValue (ScaleTransform::ScaleXProperty
);
4968 return value
->AsDouble ();
4972 ScaleTransform::SetScaleX (double value
)
4974 SetValue (ScaleTransform::ScaleXProperty
, Value (value
));
4978 ScaleTransform::GetCenterY ()
4980 Value
*value
= GetValue (ScaleTransform::CenterYProperty
);
4981 return value
->AsDouble ();
4985 ScaleTransform::SetCenterY (double value
)
4987 SetValue (ScaleTransform::CenterYProperty
, Value (value
));
4991 ScaleTransform::GetCenterX ()
4993 Value
*value
= GetValue (ScaleTransform::CenterXProperty
);
4994 return value
->AsDouble ();
4998 ScaleTransform::SetCenterX (double value
)
5000 SetValue (ScaleTransform::CenterXProperty
, Value (value
));
5004 RotateTransform::GetCenterY ()
5006 Value
*value
= GetValue (RotateTransform::CenterYProperty
);
5007 return value
->AsDouble ();
5011 RotateTransform::SetCenterY (double value
)
5013 SetValue (RotateTransform::CenterYProperty
, Value (value
));
5017 RotateTransform::GetCenterX ()
5019 Value
*value
= GetValue (RotateTransform::CenterXProperty
);
5020 return value
->AsDouble ();
5024 RotateTransform::SetCenterX (double value
)
5026 SetValue (RotateTransform::CenterXProperty
, Value (value
));
5030 RotateTransform::GetAngle ()
5032 Value
*value
= GetValue (RotateTransform::AngleProperty
);
5033 return value
->AsDouble ();
5037 RotateTransform::SetAngle (double value
)
5039 SetValue (RotateTransform::AngleProperty
, Value (value
));
5043 QuadraticBezierSegment::GetPoint2 ()
5045 Value
*value
= GetValue (QuadraticBezierSegment::Point2Property
);
5046 return value
? value
->AsPoint () : NULL
;
5050 QuadraticBezierSegment::SetPoint2 (Point
*value
)
5053 SetValue (QuadraticBezierSegment::Point2Property
, Value (*value
));
5057 QuadraticBezierSegment::GetPoint1 ()
5059 Value
*value
= GetValue (QuadraticBezierSegment::Point1Property
);
5060 return value
? value
->AsPoint () : NULL
;
5064 QuadraticBezierSegment::SetPoint1 (Point
*value
)
5067 SetValue (QuadraticBezierSegment::Point1Property
, Value (*value
));
5071 PolyQuadraticBezierSegment::GetPoints ()
5073 Value
*value
= GetValue (PolyQuadraticBezierSegment::PointsProperty
);
5074 return value
? value
->AsPointCollection () : NULL
;
5078 PolyQuadraticBezierSegment::SetPoints (PointCollection
*value
)
5080 SetValue (PolyQuadraticBezierSegment::PointsProperty
, Value::CreateUnrefPtr (value
));
5084 PolyLineSegment::GetPoints ()
5086 Value
*value
= GetValue (PolyLineSegment::PointsProperty
);
5087 return value
? value
->AsPointCollection () : NULL
;
5091 PolyLineSegment::SetPoints (PointCollection
*value
)
5093 SetValue (PolyLineSegment::PointsProperty
, Value::CreateUnrefPtr (value
));
5097 PolyBezierSegment::GetPoints ()
5099 Value
*value
= GetValue (PolyBezierSegment::PointsProperty
);
5100 return value
? value
->AsPointCollection () : NULL
;
5104 PolyBezierSegment::SetPoints (PointCollection
*value
)
5106 SetValue (PolyBezierSegment::PointsProperty
, Value::CreateUnrefPtr (value
));
5110 PointKeyFrame::GetValue ()
5112 Value
*value
= DependencyObject::GetValue (PointKeyFrame::ValueProperty
);
5113 return value
? value
->AsPoint () : NULL
;
5117 PointKeyFrame::SetValue (Point value
)
5119 DependencyObject::SetValue (PointKeyFrame::ValueProperty
, Value (value
));
5123 PointKeyFrame::SetValue (Point
*value
)
5126 DependencyObject::SetValue (PointKeyFrame::ValueProperty
, NULL
);
5128 DependencyObject::SetValue (PointKeyFrame::ValueProperty
, Value (*value
));
5132 PointKeyFrame::GetKeyTime ()
5134 Value
*value
= DependencyObject::GetValue (PointKeyFrame::KeyTimeProperty
);
5135 return value
? value
->AsKeyTime () : NULL
;
5139 PointKeyFrame::SetKeyTime (KeyTime value
)
5141 DependencyObject::SetValue (PointKeyFrame::KeyTimeProperty
, Value (value
));
5145 PointKeyFrame::SetKeyTime (KeyTime
*value
)
5148 DependencyObject::SetValue (PointKeyFrame::KeyTimeProperty
, NULL
);
5150 DependencyObject::SetValue (PointKeyFrame::KeyTimeProperty
, Value (*value
));
5154 PointAnimation::GetTo ()
5156 Value
*value
= GetValue (PointAnimation::ToProperty
);
5157 return value
? value
->AsPoint () : NULL
;
5161 PointAnimation::SetTo (Point value
)
5163 SetValue (PointAnimation::ToProperty
, Value (value
));
5167 PointAnimation::SetTo (Point
*value
)
5170 SetValue (PointAnimation::ToProperty
, NULL
);
5172 SetValue (PointAnimation::ToProperty
, Value (*value
));
5176 PointAnimation::GetFrom ()
5178 Value
*value
= GetValue (PointAnimation::FromProperty
);
5179 return value
? value
->AsPoint () : NULL
;
5183 PointAnimation::SetFrom (Point value
)
5185 SetValue (PointAnimation::FromProperty
, Value (value
));
5189 PointAnimation::SetFrom (Point
*value
)
5192 SetValue (PointAnimation::FromProperty
, NULL
);
5194 SetValue (PointAnimation::FromProperty
, Value (*value
));
5197 EasingFunctionBase
*
5198 PointAnimation::GetEasingFunction ()
5200 Value
*value
= GetValue (PointAnimation::EasingFunctionProperty
);
5201 return value
? value
->AsEasingFunctionBase () : NULL
;
5205 PointAnimation::SetEasingFunction (EasingFunctionBase
*value
)
5207 SetValue (PointAnimation::EasingFunctionProperty
, Value::CreateUnrefPtr (value
));
5211 PointAnimation::GetBy ()
5213 Value
*value
= GetValue (PointAnimation::ByProperty
);
5214 return value
? value
->AsPoint () : NULL
;
5218 PointAnimation::SetBy (Point value
)
5220 SetValue (PointAnimation::ByProperty
, Value (value
));
5224 PointAnimation::SetBy (Point
*value
)
5227 SetValue (PointAnimation::ByProperty
, NULL
);
5229 SetValue (PointAnimation::ByProperty
, Value (*value
));
5233 PasswordBox::GetSelectionStart ()
5235 Value
*value
= GetValue (PasswordBox::SelectionStartProperty
);
5236 return value
->AsInt32 ();
5240 PasswordBox::SetSelectionStart (gint32 value
)
5242 SetValue (PasswordBox::SelectionStartProperty
, Value (value
));
5246 PasswordBox::GetSelectionLength ()
5248 Value
*value
= GetValue (PasswordBox::SelectionLengthProperty
);
5249 return value
->AsInt32 ();
5253 PasswordBox::SetSelectionLength (gint32 value
)
5255 SetValue (PasswordBox::SelectionLengthProperty
, Value (value
));
5259 PasswordBox::GetSelectionForeground ()
5261 Value
*value
= GetValue (PasswordBox::SelectionForegroundProperty
);
5262 return value
? value
->AsBrush () : NULL
;
5266 PasswordBox::SetSelectionForeground (Brush
*value
)
5268 SetValue (PasswordBox::SelectionForegroundProperty
, Value::CreateUnrefPtr (value
));
5272 PasswordBox::GetSelectionBackground ()
5274 Value
*value
= GetValue (PasswordBox::SelectionBackgroundProperty
);
5275 return value
? value
->AsBrush () : NULL
;
5279 PasswordBox::SetSelectionBackground (Brush
*value
)
5281 SetValue (PasswordBox::SelectionBackgroundProperty
, Value::CreateUnrefPtr (value
));
5285 PasswordBox::GetSelectedText ()
5287 Value
*value
= GetValue (PasswordBox::SelectedTextProperty
);
5288 return value
? value
->AsString () : NULL
;
5292 PasswordBox::SetSelectedText (const char *value
)
5294 SetValue (PasswordBox::SelectedTextProperty
, Value (value
));
5298 PasswordBox::GetPassword ()
5300 Value
*value
= GetValue (PasswordBox::PasswordProperty
);
5301 return value
? value
->AsString () : NULL
;
5305 PasswordBox::SetPassword (const char *value
)
5307 SetValue (PasswordBox::PasswordProperty
, Value (value
));
5311 PasswordBox::GetPasswordChar ()
5313 Value
*value
= GetValue (PasswordBox::PasswordCharProperty
);
5314 return value
->AsChar ();
5318 PasswordBox::SetPasswordChar (gunichar value
)
5320 SetValue (PasswordBox::PasswordCharProperty
, Value (value
, Type::CHAR
));
5324 PasswordBox::GetMaxLength ()
5326 Value
*value
= GetValue (PasswordBox::MaxLengthProperty
);
5327 return value
->AsInt32 ();
5331 PasswordBox::SetMaxLength (gint32 value
)
5333 SetValue (PasswordBox::MaxLengthProperty
, Value (value
));
5337 PasswordBox::GetFontSource ()
5339 Value
*value
= GetValue (PasswordBox::FontSourceProperty
);
5340 return value
? value
->AsFontSource () : NULL
;
5344 PasswordBox::SetFontSource (FontSource
*value
)
5347 SetValue (PasswordBox::FontSourceProperty
, Value (*value
));
5351 PasswordBox::GetCaretBrush ()
5353 Value
*value
= GetValue (PasswordBox::CaretBrushProperty
);
5354 return value
? value
->AsBrush () : NULL
;
5358 PasswordBox::SetCaretBrush (Brush
*value
)
5360 SetValue (PasswordBox::CaretBrushProperty
, Value::CreateUnrefPtr (value
));
5364 ObjectKeyFrame::GetKeyTime ()
5366 Value
*value
= DependencyObject::GetValue (ObjectKeyFrame::KeyTimeProperty
);
5367 return value
? value
->AsKeyTime () : NULL
;
5371 ObjectKeyFrame::SetKeyTime (KeyTime value
)
5373 DependencyObject::SetValue (ObjectKeyFrame::KeyTimeProperty
, Value (value
));
5377 ObjectKeyFrame::SetKeyTime (KeyTime
*value
)
5380 DependencyObject::SetValue (ObjectKeyFrame::KeyTimeProperty
, NULL
);
5382 DependencyObject::SetValue (ObjectKeyFrame::KeyTimeProperty
, Value (*value
));
5386 ObjectKeyFrame::GetConvertedValue ()
5388 return DependencyObject::GetValue (ObjectKeyFrame::ConvertedValueProperty
);
5392 ObjectKeyFrame::SetConvertedValue (Value
* value
)
5394 DependencyObject::SetValue (ObjectKeyFrame::ConvertedValueProperty
, Value (*value
));
5397 ObjectKeyFrameCollection
*
5398 ObjectAnimationUsingKeyFrames::GetKeyFrames ()
5400 Value
*value
= GetValue (ObjectAnimationUsingKeyFrames::KeyFramesProperty
);
5401 return value
? value
->AsObjectKeyFrameCollection () : NULL
;
5405 ObjectAnimationUsingKeyFrames::SetKeyFrames (ObjectKeyFrameCollection
*value
)
5407 SetValue (ObjectAnimationUsingKeyFrames::KeyFramesProperty
, Value::CreateUnrefPtr (value
));
5411 MatrixTransform::GetMatrix ()
5413 Value
*value
= GetValue (MatrixTransform::MatrixProperty
);
5414 return value
? value
->AsMatrix () : NULL
;
5418 MatrixTransform::SetMatrix (Matrix
*value
)
5420 SetValue (MatrixTransform::MatrixProperty
, Value::CreateUnrefPtr (value
));
5424 LineSegment::GetPoint ()
5426 Value
*value
= GetValue (LineSegment::PointProperty
);
5427 return value
? value
->AsPoint () : NULL
;
5431 LineSegment::SetPoint (Point
*value
)
5434 SetValue (LineSegment::PointProperty
, Value (*value
));
5438 LayoutInformation::GetVisualOffset (DependencyObject
*obj
)
5440 Value
*value
= (!obj
) ? NULL
: obj
->GetValue (LayoutInformation::VisualOffsetProperty
);
5441 if (!value
) value
= Deployment::GetCurrent ()->GetTypes ()->GetProperty (LayoutInformation::VisualOffsetProperty
)->GetDefaultValue();
5442 return value
? value
->AsPoint () : NULL
;
5446 LayoutInformation::SetVisualOffset (DependencyObject
*obj
, Point
*value
)
5450 obj
->SetValue (LayoutInformation::VisualOffsetProperty
, Value (*value
));
5454 LayoutInformation::GetPreviousConstraint (DependencyObject
*obj
)
5456 Value
*value
= (!obj
) ? NULL
: obj
->GetValue (LayoutInformation::PreviousConstraintProperty
);
5457 if (!value
) value
= Deployment::GetCurrent ()->GetTypes ()->GetProperty (LayoutInformation::PreviousConstraintProperty
)->GetDefaultValue();
5458 return value
? value
->AsSize () : NULL
;
5462 LayoutInformation::SetPreviousConstraint (DependencyObject
*obj
, Size
*value
)
5466 obj
->SetValue (LayoutInformation::PreviousConstraintProperty
, Value (*value
));
5470 LayoutInformation::GetLayoutSlot (DependencyObject
*obj
)
5472 Value
*value
= (!obj
) ? NULL
: obj
->GetValue (LayoutInformation::LayoutSlotProperty
);
5473 if (!value
) value
= Deployment::GetCurrent ()->GetTypes ()->GetProperty (LayoutInformation::LayoutSlotProperty
)->GetDefaultValue();
5474 return value
? value
->AsRect () : NULL
;
5478 LayoutInformation::SetLayoutSlot (DependencyObject
*obj
, Rect
*value
)
5482 obj
->SetValue (LayoutInformation::LayoutSlotProperty
, Value (*value
));
5486 LayoutInformation::GetLayoutClip (DependencyObject
*obj
)
5488 Value
*value
= (!obj
) ? NULL
: obj
->GetValue (LayoutInformation::LayoutClipProperty
);
5489 if (!value
) value
= Deployment::GetCurrent ()->GetTypes ()->GetProperty (LayoutInformation::LayoutClipProperty
)->GetDefaultValue();
5490 return value
? value
->AsGeometry () : NULL
;
5494 LayoutInformation::SetLayoutClip (DependencyObject
*obj
, Geometry
*value
)
5497 obj
->SetValue (LayoutInformation::LayoutClipProperty
, Value::CreateUnrefPtr (value
));
5501 LayoutInformation::GetLastRenderSize (DependencyObject
*obj
)
5503 Value
*value
= (!obj
) ? NULL
: obj
->GetValue (LayoutInformation::LastRenderSizeProperty
);
5504 if (!value
) value
= Deployment::GetCurrent ()->GetTypes ()->GetProperty (LayoutInformation::LastRenderSizeProperty
)->GetDefaultValue();
5505 return value
? value
->AsSize () : NULL
;
5509 LayoutInformation::SetLastRenderSize (DependencyObject
*obj
, Size
*value
)
5513 obj
->SetValue (LayoutInformation::LastRenderSizeProperty
, Value (*value
));
5517 LayoutInformation::GetFinalRect (DependencyObject
*obj
)
5519 Value
*value
= (!obj
) ? NULL
: obj
->GetValue (LayoutInformation::FinalRectProperty
);
5520 if (!value
) value
= Deployment::GetCurrent ()->GetTypes ()->GetProperty (LayoutInformation::FinalRectProperty
)->GetDefaultValue();
5521 return value
? value
->AsSize () : NULL
;
5525 LayoutInformation::SetFinalRect (DependencyObject
*obj
, Size
*value
)
5529 obj
->SetValue (LayoutInformation::FinalRectProperty
, Value (*value
));
5533 EventTrigger::GetRoutedEvent ()
5535 Value
*value
= GetValue (EventTrigger::RoutedEventProperty
);
5536 return value
? value
->AsString () : NULL
;
5540 EventTrigger::SetRoutedEvent (const char *value
)
5542 SetValue (EventTrigger::RoutedEventProperty
, Value (value
));
5545 TriggerActionCollection
*
5546 EventTrigger::GetActions ()
5548 Value
*value
= GetValue (EventTrigger::ActionsProperty
);
5549 return value
? value
->AsTriggerActionCollection () : NULL
;
5553 EventTrigger::SetActions (TriggerActionCollection
*value
)
5555 SetValue (EventTrigger::ActionsProperty
, Value::CreateUnrefPtr (value
));
5559 DoubleKeyFrame::GetValue ()
5561 Value
*value
= DependencyObject::GetValue (DoubleKeyFrame::ValueProperty
);
5562 return value
? value
->AsNullableDouble () : NULL
;
5566 DoubleKeyFrame::SetValue (double value
)
5568 DependencyObject::SetValue (DoubleKeyFrame::ValueProperty
, Value (value
));
5572 DoubleKeyFrame::SetValue (double * value
)
5575 DependencyObject::SetValue (DoubleKeyFrame::ValueProperty
, NULL
);
5577 DependencyObject::SetValue (DoubleKeyFrame::ValueProperty
, Value (*value
));
5581 DoubleKeyFrame::GetKeyTime ()
5583 Value
*value
= DependencyObject::GetValue (DoubleKeyFrame::KeyTimeProperty
);
5584 return value
? value
->AsKeyTime () : NULL
;
5588 DoubleKeyFrame::SetKeyTime (KeyTime value
)
5590 DependencyObject::SetValue (DoubleKeyFrame::KeyTimeProperty
, Value (value
));
5594 DoubleKeyFrame::SetKeyTime (KeyTime
*value
)
5597 DependencyObject::SetValue (DoubleKeyFrame::KeyTimeProperty
, NULL
);
5599 DependencyObject::SetValue (DoubleKeyFrame::KeyTimeProperty
, Value (*value
));
5603 DoubleAnimation::GetTo ()
5605 Value
*value
= GetValue (DoubleAnimation::ToProperty
);
5606 return value
? value
->AsNullableDouble () : NULL
;
5610 DoubleAnimation::SetTo (double value
)
5612 SetValue (DoubleAnimation::ToProperty
, Value (value
));
5616 DoubleAnimation::SetTo (double * value
)
5619 SetValue (DoubleAnimation::ToProperty
, NULL
);
5621 SetValue (DoubleAnimation::ToProperty
, Value (*value
));
5625 DoubleAnimation::GetFrom ()
5627 Value
*value
= GetValue (DoubleAnimation::FromProperty
);
5628 return value
? value
->AsNullableDouble () : NULL
;
5632 DoubleAnimation::SetFrom (double value
)
5634 SetValue (DoubleAnimation::FromProperty
, Value (value
));
5638 DoubleAnimation::SetFrom (double * value
)
5641 SetValue (DoubleAnimation::FromProperty
, NULL
);
5643 SetValue (DoubleAnimation::FromProperty
, Value (*value
));
5646 EasingFunctionBase
*
5647 DoubleAnimation::GetEasingFunction ()
5649 Value
*value
= GetValue (DoubleAnimation::EasingFunctionProperty
);
5650 return value
? value
->AsEasingFunctionBase () : NULL
;
5654 DoubleAnimation::SetEasingFunction (EasingFunctionBase
*value
)
5656 SetValue (DoubleAnimation::EasingFunctionProperty
, Value::CreateUnrefPtr (value
));
5660 DoubleAnimation::GetBy ()
5662 Value
*value
= GetValue (DoubleAnimation::ByProperty
);
5663 return value
? value
->AsNullableDouble () : NULL
;
5667 DoubleAnimation::SetBy (double value
)
5669 SetValue (DoubleAnimation::ByProperty
, Value (value
));
5673 DoubleAnimation::SetBy (double * value
)
5676 SetValue (DoubleAnimation::ByProperty
, NULL
);
5678 SetValue (DoubleAnimation::ByProperty
, Value (*value
));
5682 DependencyObject::GetName ()
5684 Value
*value
= GetValue (DependencyObject::NameProperty
);
5685 return value
? value
->AsString () : NULL
;
5689 DependencyObject::SetName (const char *value
)
5691 SetValue (DependencyObject::NameProperty
, Value (value
));
5695 ColorKeyFrame::GetValue ()
5697 Value
*value
= DependencyObject::GetValue (ColorKeyFrame::ValueProperty
);
5698 return value
? value
->AsColor () : NULL
;
5702 ColorKeyFrame::SetValue (Color value
)
5704 DependencyObject::SetValue (ColorKeyFrame::ValueProperty
, Value (value
));
5708 ColorKeyFrame::SetValue (Color
*value
)
5711 DependencyObject::SetValue (ColorKeyFrame::ValueProperty
, NULL
);
5713 DependencyObject::SetValue (ColorKeyFrame::ValueProperty
, Value (*value
));
5717 ColorKeyFrame::GetKeyTime ()
5719 Value
*value
= DependencyObject::GetValue (ColorKeyFrame::KeyTimeProperty
);
5720 return value
? value
->AsKeyTime () : NULL
;
5724 ColorKeyFrame::SetKeyTime (KeyTime value
)
5726 DependencyObject::SetValue (ColorKeyFrame::KeyTimeProperty
, Value (value
));
5730 ColorKeyFrame::SetKeyTime (KeyTime
*value
)
5733 DependencyObject::SetValue (ColorKeyFrame::KeyTimeProperty
, NULL
);
5735 DependencyObject::SetValue (ColorKeyFrame::KeyTimeProperty
, Value (*value
));
5739 ColorAnimation::GetTo ()
5741 Value
*value
= GetValue (ColorAnimation::ToProperty
);
5742 return value
? value
->AsColor () : NULL
;
5746 ColorAnimation::SetTo (Color value
)
5748 SetValue (ColorAnimation::ToProperty
, Value (value
));
5752 ColorAnimation::SetTo (Color
*value
)
5755 SetValue (ColorAnimation::ToProperty
, NULL
);
5757 SetValue (ColorAnimation::ToProperty
, Value (*value
));
5761 ColorAnimation::GetFrom ()
5763 Value
*value
= GetValue (ColorAnimation::FromProperty
);
5764 return value
? value
->AsColor () : NULL
;
5768 ColorAnimation::SetFrom (Color value
)
5770 SetValue (ColorAnimation::FromProperty
, Value (value
));
5774 ColorAnimation::SetFrom (Color
*value
)
5777 SetValue (ColorAnimation::FromProperty
, NULL
);
5779 SetValue (ColorAnimation::FromProperty
, Value (*value
));
5782 EasingFunctionBase
*
5783 ColorAnimation::GetEasingFunction ()
5785 Value
*value
= GetValue (ColorAnimation::EasingFunctionProperty
);
5786 return value
? value
->AsEasingFunctionBase () : NULL
;
5790 ColorAnimation::SetEasingFunction (EasingFunctionBase
*value
)
5792 SetValue (ColorAnimation::EasingFunctionProperty
, Value::CreateUnrefPtr (value
));
5796 ColorAnimation::GetBy ()
5798 Value
*value
= GetValue (ColorAnimation::ByProperty
);
5799 return value
? value
->AsColor () : NULL
;
5803 ColorAnimation::SetBy (Color value
)
5805 SetValue (ColorAnimation::ByProperty
, Value (value
));
5809 ColorAnimation::SetBy (Color
*value
)
5812 SetValue (ColorAnimation::ByProperty
, NULL
);
5814 SetValue (ColorAnimation::ByProperty
, Value (*value
));
5818 BitmapSource::GetPixelWidth ()
5820 Value
*value
= GetValue (BitmapSource::PixelWidthProperty
);
5821 return value
->AsInt32 ();
5825 BitmapSource::SetPixelWidth (gint32 value
)
5827 SetValue (BitmapSource::PixelWidthProperty
, Value (value
));
5831 BitmapSource::GetPixelHeight ()
5833 Value
*value
= GetValue (BitmapSource::PixelHeightProperty
);
5834 return value
->AsInt32 ();
5838 BitmapSource::SetPixelHeight (gint32 value
)
5840 SetValue (BitmapSource::PixelHeightProperty
, Value (value
));
5844 BitmapSource::GetPixelFormat ()
5846 Value
*value
= GetValue (BitmapSource::PixelFormatProperty
);
5847 return (PixelFormats
) value
->AsInt32 ();
5851 BitmapSource::SetPixelFormat (PixelFormats value
)
5853 SetValue (BitmapSource::PixelFormatProperty
, Value (value
));
5857 BezierSegment::GetPoint3 ()
5859 Value
*value
= GetValue (BezierSegment::Point3Property
);
5860 return value
? value
->AsPoint () : NULL
;
5864 BezierSegment::SetPoint3 (Point
*value
)
5867 SetValue (BezierSegment::Point3Property
, Value (*value
));
5871 BezierSegment::GetPoint2 ()
5873 Value
*value
= GetValue (BezierSegment::Point2Property
);
5874 return value
? value
->AsPoint () : NULL
;
5878 BezierSegment::SetPoint2 (Point
*value
)
5881 SetValue (BezierSegment::Point2Property
, Value (*value
));
5885 BezierSegment::GetPoint1 ()
5887 Value
*value
= GetValue (BezierSegment::Point1Property
);
5888 return value
? value
->AsPoint () : NULL
;
5892 BezierSegment::SetPoint1 (Point
*value
)
5895 SetValue (BezierSegment::Point1Property
, Value (*value
));
5899 BeginStoryboard::GetStoryboard ()
5901 Value
*value
= GetValue (BeginStoryboard::StoryboardProperty
);
5902 return value
? value
->AsStoryboard () : NULL
;
5906 BeginStoryboard::SetStoryboard (Storyboard
*value
)
5908 SetValue (BeginStoryboard::StoryboardProperty
, Value::CreateUnrefPtr (value
));
5912 ArcSegment::GetSweepDirection ()
5914 Value
*value
= GetValue (ArcSegment::SweepDirectionProperty
);
5915 return (SweepDirection
) value
->AsInt32 ();
5919 ArcSegment::SetSweepDirection (SweepDirection value
)
5921 SetValue (ArcSegment::SweepDirectionProperty
, Value (value
));
5925 ArcSegment::GetSize ()
5927 Value
*value
= GetValue (ArcSegment::SizeProperty
);
5928 return value
? value
->AsSize () : NULL
;
5932 ArcSegment::SetSize (Size
*value
)
5935 SetValue (ArcSegment::SizeProperty
, Value (*value
));
5939 ArcSegment::GetRotationAngle ()
5941 Value
*value
= GetValue (ArcSegment::RotationAngleProperty
);
5942 return value
->AsDouble ();
5946 ArcSegment::SetRotationAngle (double value
)
5948 SetValue (ArcSegment::RotationAngleProperty
, Value (value
));
5952 ArcSegment::GetPoint ()
5954 Value
*value
= GetValue (ArcSegment::PointProperty
);
5955 return value
? value
->AsPoint () : NULL
;
5959 ArcSegment::SetPoint (Point
*value
)
5962 SetValue (ArcSegment::PointProperty
, Value (*value
));
5966 ArcSegment::GetIsLargeArc ()
5968 Value
*value
= GetValue (ArcSegment::IsLargeArcProperty
);
5969 return value
->AsBool ();
5973 ArcSegment::SetIsLargeArc (bool value
)
5975 SetValue (ArcSegment::IsLargeArcProperty
, Value (value
));