2 * Automatically generated, do not edit this file directly
9 #include "application.h"
10 #include "bitmapcache.h"
11 #include "bitmapimage.h"
12 #include "bitmapsource.h"
16 #include "collection.h"
18 #include "contentcontrol.h"
20 #include "deepzoomimagetilesource.h"
21 #include "dependencyobject.h"
22 #include "dependencyproperty.h"
23 #include "deployment.h"
24 #include "downloader.h"
27 #include "frameworkelement.h"
31 #include "layoutinformation.h"
32 #include "managedtypeinfo.h"
34 #include "mediaelement.h"
35 #include "multiscaleimage.h"
36 #include "multiscalesubimage.h"
37 #include "namescope.h"
39 #include "plugin-accessibility.h"
42 #include "resources.h"
47 #include "textblock.h"
49 #include "textoptions.h"
50 #include "tilesource.h"
52 #include "transform.h"
54 #include "uielement.h"
55 #include "usercontrol.h"
56 #include "validators.h"
59 Types::RegisterNativeProperties ()
61 DependencyProperty::Register (this, Type::VISUALBRUSH
, "Visual", false, Type::UIELEMENT
);
62 DependencyProperty::Register (this, Type::VIDEOBRUSH
, "SourceName", false, new Value (""), Type::STRING
);
63 DependencyProperty::Register (this, Type::IMAGEBRUSH
, "ImageSource", false, Type::IMAGESOURCE
);
64 DependencyProperty::Register (this, Type::IMAGEBRUSH
, "DownloadProgress", false, new Value (0.0), Type::DOUBLE
);
65 DependencyProperty::Register (this, Type::RADIALGRADIENTBRUSH
, "RadiusY", false, new Value (0.5), Type::DOUBLE
);
66 DependencyProperty::Register (this, Type::RADIALGRADIENTBRUSH
, "RadiusX", false, new Value (0.5), Type::DOUBLE
);
67 DependencyProperty::Register (this, Type::RADIALGRADIENTBRUSH
, "GradientOrigin", false, new Value (Point (0.5, 0.5)), Type::POINT
);
68 DependencyProperty::Register (this, Type::RADIALGRADIENTBRUSH
, "Center", false, new Value (Point (0.5, 0.5)), Type::POINT
);
69 DependencyProperty::Register (this, Type::LINEARGRADIENTBRUSH
, "StartPoint", false, Type::POINT
);
70 DependencyProperty::Register (this, Type::LINEARGRADIENTBRUSH
, "EndPoint", false, new Value (Point(1,1)), Type::POINT
);
71 DependencyProperty::Register (this, Type::SOLIDCOLORBRUSH
, "Color", false, new Value (Color (0x00000000)), Type::COLOR
);
72 DependencyProperty::Register (this, Type::TILEBRUSH
, "Stretch", false, new Value (StretchFill
), Type::INT32
);
73 DependencyProperty::Register (this, Type::TILEBRUSH
, "AlignmentY", false, new Value (AlignmentYCenter
), Type::INT32
);
74 DependencyProperty::Register (this, Type::TILEBRUSH
, "AlignmentX", false, new Value (AlignmentXCenter
), Type::INT32
);
75 DependencyProperty::Register (this, Type::GRADIENTBRUSH
, "SpreadMethod", false, new Value (GradientSpreadMethodPad
), Type::INT32
);
76 DependencyProperty::Register (this, Type::GRADIENTBRUSH
, "MappingMode", false, new Value (BrushMappingModeRelativeToBoundingBox
), Type::INT32
);
77 DependencyProperty::RegisterFull (this, Type::GRADIENTBRUSH
, "GradientStops", false, NULL
, Type::GRADIENTSTOP_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
78 DependencyProperty::Register (this, Type::GRADIENTBRUSH
, "ColorInterpolationMode", false, new Value (ColorInterpolationModeSRgbLinearInterpolation
), Type::INT32
);
79 DependencyProperty::RegisterFull (this, Type::INKPRESENTER
, "Strokes", false, NULL
, Type::STROKE_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
80 DependencyProperty::Register (this, Type::BRUSH
, "Transform", false, Value::CreateUnrefPtr (new MatrixTransform ()), Type::TRANSFORM
);
81 DependencyProperty::Register (this, Type::BRUSH
, "RelativeTransform", false, Value::CreateUnrefPtr (new MatrixTransform ()), Type::TRANSFORM
);
82 DependencyProperty::Register (this, Type::BRUSH
, "Opacity", false, new Value (1.0), Type::DOUBLE
);
83 DependencyProperty::Register (this, Type::BRUSH
, "Changed", false, Type::BOOL
);
84 DependencyProperty::Register (this, Type::RECTANGLE
, "RadiusY", false, new Value (0.0), Type::DOUBLE
);
85 DependencyProperty::Register (this, Type::RECTANGLE
, "RadiusX", false, new Value (0.0), Type::DOUBLE
);
86 DependencyProperty::RegisterFull (this, Type::POLYLINE
, "Points", false, NULL
, Type::POINT_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
87 DependencyProperty::Register (this, Type::POLYLINE
, "FillRule", false, new Value (FillRuleEvenOdd
), Type::INT32
);
88 DependencyProperty::RegisterFull (this, Type::POLYGON
, "Points", false, NULL
, Type::POINT_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
89 DependencyProperty::Register (this, Type::POLYGON
, "FillRule", false, new Value (FillRuleEvenOdd
), Type::INT32
);
90 DependencyProperty::Register (this, Type::PATH
, "Data", false, Type::GEOMETRY
);
91 DependencyProperty::Register (this, Type::LINE
, "Y2", false, new Value (0.0), Type::DOUBLE
);
92 DependencyProperty::Register (this, Type::LINE
, "Y1", false, new Value (0.0), Type::DOUBLE
);
93 DependencyProperty::Register (this, Type::LINE
, "X2", false, new Value (0.0), Type::DOUBLE
);
94 DependencyProperty::Register (this, Type::LINE
, "X1", false, new Value (0.0), Type::DOUBLE
);
95 DependencyProperty::RegisterFull (this, Type::MULTISCALEIMAGE
, "ViewportWidth", false, new Value (1.0), Type::DOUBLE
, false, false, true, NULL
, NULL
, NULL
, false);
96 DependencyProperty::RegisterFull (this, Type::MULTISCALEIMAGE
, "ViewportOrigin", false, new Value (Point(0,0)), Type::POINT
, false, false, true, NULL
, NULL
, NULL
, false);
97 DependencyProperty::Register (this, Type::MULTISCALEIMAGE
, "UseSprings", false, new Value (true), Type::BOOL
);
98 DependencyProperty::Register (this, Type::MULTISCALEIMAGE
, "TileFade", false, new Value (0.0), Type::DOUBLE
);
99 DependencyProperty::RegisterFull (this, Type::MULTISCALEIMAGE
, "SubImages", false, NULL
, Type::MULTISCALESUBIMAGE_COLLECTION
, false, true, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
100 DependencyProperty::Register (this, Type::MULTISCALEIMAGE
, "Source", false, Type::MULTISCALETILESOURCE
);
101 DependencyProperty::RegisterFull (this, Type::MULTISCALEIMAGE
, "IsIdle", false, new Value (true), Type::BOOL
, false, true, false, NULL
, NULL
, NULL
, false);
102 DependencyProperty::RegisterFull (this, Type::MULTISCALEIMAGE
, "IsDownloading", false, new Value (false), Type::BOOL
, false, true, false, NULL
, NULL
, NULL
, false);
103 DependencyProperty::Register (this, Type::MULTISCALEIMAGE
, "InternalViewportWidth", false, new Value (1.0), Type::DOUBLE
);
104 DependencyProperty::Register (this, Type::MULTISCALEIMAGE
, "InternalViewportOrigin", false, new Value (Point(0,0)), Type::POINT
);
105 DependencyProperty::Register (this, Type::MULTISCALEIMAGE
, "BlurFactor", false, new Value (1.0), Type::DOUBLE
);
106 DependencyProperty::RegisterFull (this, Type::MULTISCALEIMAGE
, "AspectRatio", false, new Value (1.0), Type::DOUBLE
, false, true, false, NULL
, NULL
, NULL
, false);
107 DependencyProperty::Register (this, Type::MULTISCALEIMAGE
, "AllowDownloading", false, new Value (true), Type::BOOL
);
108 DependencyProperty::RegisterFull (this, Type::IMAGE
, "Source", false, NULL
, Type::IMAGESOURCE
, false, false, false, NULL
, NULL
, Image::CreateDefaultImageSource
, false);
109 DependencyProperty::Register (this, Type::USERCONTROL
, "Content", false, Type::UIELEMENT
);
110 DependencyProperty::Register (this, Type::CONTENTCONTROL
, "ContentTemplate", false, Type::DATATEMPLATE
);
111 DependencyProperty::RegisterFull (this, Type::CONTENTCONTROL
, "Content", false, NULL
, Type::OBJECT
, false, false, false, NULL
, Validators::ContentControlContentValidator
, NULL
, false);
112 DependencyProperty::Register (this, Type::GRID
, "ShowGridLines", false, new Value (false), Type::BOOL
);
113 DependencyProperty::RegisterFull (this, Type::GRID
, "RowSpan", false, new Value (1), Type::INT32
, true, false, false, NULL
, Validators::IntGreaterThanZeroValidator
, NULL
, false);
114 DependencyProperty::RegisterFull (this, Type::GRID
, "Row", false, new Value (0), Type::INT32
, true, false, false, NULL
, Validators::PositiveIntValidator
, NULL
, false);
115 DependencyProperty::RegisterFull (this, Type::GRID
, "RowDefinitions", false, NULL
, Type::ROWDEFINITION_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
116 DependencyProperty::RegisterFull (this, Type::GRID
, "ColumnSpan", false, new Value (1), Type::INT32
, true, false, false, NULL
, Validators::IntGreaterThanZeroValidator
, NULL
, false);
117 DependencyProperty::RegisterFull (this, Type::GRID
, "Column", false, new Value (0), Type::INT32
, true, false, false, NULL
, Validators::PositiveIntValidator
, NULL
, false);
118 DependencyProperty::RegisterFull (this, Type::GRID
, "ColumnDefinitions", false, NULL
, Type::COLUMNDEFINITION_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
119 DependencyProperty::RegisterFull (this, Type::CANVAS
, "ZIndex", false, new Value (0), Type::INT32
, true, false, false, NULL
, NULL
, NULL
, false);
120 DependencyProperty::RegisterFull (this, Type::CANVAS
, "Top", false, new Value (0.0), Type::DOUBLE
, true, false, false, NULL
, NULL
, NULL
, false);
121 DependencyProperty::RegisterFull (this, Type::CANVAS
, "Left", false, new Value (0.0), Type::DOUBLE
, true, false, false, NULL
, NULL
, NULL
, false);
122 DependencyProperty::Register (this, Type::TEXTBLOCK
, "TextWrapping", false, new Value (TextWrappingNoWrap
), Type::INT32
);
123 DependencyProperty::Register (this, Type::TEXTBLOCK
, "Text", false, new Value (""), Type::STRING
);
124 DependencyProperty::Register (this, Type::TEXTBLOCK
, "TextDecorations", false, new Value (TextDecorationsNone
), Type::INT32
);
125 DependencyProperty::Register (this, Type::TEXTBLOCK
, "TextAlignment", false, new Value (TextAlignmentLeft
), Type::INT32
);
126 DependencyProperty::Register (this, Type::TEXTBLOCK
, "Padding", false, new Value (Thickness (0)), Type::THICKNESS
);
127 DependencyProperty::Register (this, Type::TEXTBLOCK
, "LineStackingStrategy", false, new Value (LineStackingStrategyMaxHeight
), Type::INT32
);
128 DependencyProperty::Register (this, Type::TEXTBLOCK
, "LineHeight", false, new Value (0.0), Type::DOUBLE
);
129 DependencyProperty::RegisterFull (this, Type::TEXTBLOCK
, "Inlines", false, NULL
, Type::INLINE_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
130 DependencyProperty::Register (this, Type::TEXTBLOCK
, "Foreground", false, Value::CreateUnrefPtr (new SolidColorBrush("black")), Type::BRUSH
);
131 DependencyProperty::Register (this, Type::TEXTBLOCK
, "FontWeight", false, new Value (FontWeight(TEXTBLOCK_FONT_WEIGHT
)), Type::FONTWEIGHT
);
132 DependencyProperty::Register (this, Type::TEXTBLOCK
, "FontStyle", false, new Value (FontStyle(TEXTBLOCK_FONT_STYLE
)), Type::FONTSTYLE
);
133 DependencyProperty::Register (this, Type::TEXTBLOCK
, "FontStretch", false, new Value (FontStretch(TEXTBLOCK_FONT_STRETCH
)), Type::FONTSTRETCH
);
134 DependencyProperty::Register (this, Type::TEXTBLOCK
, "FontSource", false, Type::FONTSOURCE
);
135 DependencyProperty::RegisterFull (this, Type::TEXTBLOCK
, "FontSize", false, NULL
, Type::DOUBLE
, false, false, false, NULL
, NULL
, AutoCreators::CreateDefaultFontSize
, false);
136 DependencyProperty::Register (this, Type::TEXTBLOCK
, "FontFamily", false, new Value (FontFamily(TEXTBLOCK_FONT_FAMILY
)), Type::FONTFAMILY
);
137 DependencyProperty::Register (this, Type::POPUP
, "VerticalOffset", false, new Value (0.0), Type::DOUBLE
);
138 DependencyProperty::Register (this, Type::POPUP
, "IsOpen", false, new Value (false), Type::BOOL
);
139 DependencyProperty::Register (this, Type::POPUP
, "HorizontalOffset", false, new Value (0.0), Type::DOUBLE
);
140 DependencyProperty::RegisterFull (this, Type::POPUP
, "Child", false, NULL
, Type::UIELEMENT
, false, false, false, NULL
, Validators::ContentControlContentValidator
, NULL
, false);
141 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "Volume", false, new Value (0.5), Type::DOUBLE
, false, false, false, NULL
, Validators::VolumeValidator
, NULL
, false);
142 DependencyProperty::Register (this, Type::MEDIAELEMENT
, "Stretch", false, new Value (StretchUniform
), Type::INT32
);
143 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "Source", false, NULL
, Type::URI
, false, false, true, NULL
, NULL
, NULL
, true);
144 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "RenderedFramesPerSecond", false, new Value (0.0), Type::DOUBLE
, false, true, false, NULL
, NULL
, NULL
, false);
145 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "Position", false, NULL
, Type::TIMESPAN
, false, false, true, NULL
, NULL
, NULL
, false);
146 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "NaturalVideoWidth", false, new Value (0), Type::INT32
, false, true, false, NULL
, Validators::IntGreaterThanZeroValidator
, NULL
, false);
147 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "NaturalVideoHeight", false, new Value (0), Type::INT32
, false, true, false, NULL
, Validators::IntGreaterThanZeroValidator
, NULL
, false);
148 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "NaturalDuration", false, new Value (Duration::FromSeconds (0)), Type::DURATION
, false, true, false, NULL
, NULL
, NULL
, false);
149 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "Markers", false, NULL
, Type::TIMELINEMARKER_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
150 DependencyProperty::Register (this, Type::MEDIAELEMENT
, "IsMuted", false, new Value (false), Type::BOOL
);
151 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "DroppedFramesPerSecond", false, new Value (0.0), Type::DOUBLE
, false, true, false, NULL
, NULL
, NULL
, false);
152 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "DownloadProgress", false, new Value (0.0), Type::DOUBLE
, false, true, false, NULL
, NULL
, NULL
, false);
153 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "DownloadProgressOffset", false, new Value (0.0), Type::DOUBLE
, false, true, false, NULL
, NULL
, NULL
, false);
154 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "CurrentState", false, new Value (MediaStateClosed
), Type::INT32
, false, true, false, NULL
, NULL
, NULL
, false);
155 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "CanSeek", false, new Value (false), Type::BOOL
, false, true, false, NULL
, NULL
, NULL
, false);
156 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "CanPause", false, new Value (false), Type::BOOL
, false, true, false, NULL
, NULL
, NULL
, false);
157 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "BufferingTime", false, NULL
, Type::TIMESPAN
, false, false, false, NULL
, Validators::BufferingTimeValidator
, NULL
, false);
158 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "BufferingProgress", false, new Value (0.0), Type::DOUBLE
, false, true, false, NULL
, NULL
, NULL
, false);
159 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "Balance", false, new Value (0.0), Type::DOUBLE
, false, false, false, NULL
, Validators::BalanceValidator
, NULL
, false);
160 DependencyProperty::Register (this, Type::MEDIAELEMENT
, "AutoPlay", false, new Value (true), Type::BOOL
);
161 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "AudioStreamIndex", false, NULL
, Type::INT32
, false, false, false, NULL
, Validators::AudioStreamIndexValidator
, NULL
, true);
162 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "AudioStreamCount", false, new Value (0), Type::INT32
, false, true, false, NULL
, NULL
, NULL
, false);
163 DependencyProperty::RegisterFull (this, Type::MEDIAELEMENT
, "Attributes", false, NULL
, Type::MEDIAATTRIBUTE_COLLECTION
, false, false, false, NULL
, Validators::MediaAttributeCollectionValidator
, AutoCreators::default_autocreator
, false);
164 DependencyProperty::Register (this, Type::SHAPE
, "StrokeThickness", false, new Value (1.0), Type::DOUBLE
);
165 DependencyProperty::Register (this, Type::SHAPE
, "StrokeStartLineCap", false, new Value (PenLineCapFlat
), Type::INT32
);
166 DependencyProperty::Register (this, Type::SHAPE
, "Stroke", false, Type::BRUSH
);
167 DependencyProperty::Register (this, Type::SHAPE
, "StrokeMiterLimit", false, new Value (10.0), Type::DOUBLE
);
168 DependencyProperty::Register (this, Type::SHAPE
, "StrokeLineJoin", false, new Value (PenLineJoinMiter
), Type::INT32
);
169 DependencyProperty::Register (this, Type::SHAPE
, "StrokeEndLineCap", false, new Value (PenLineCapFlat
), Type::INT32
);
170 DependencyProperty::Register (this, Type::SHAPE
, "StrokeDashOffset", false, new Value (0.0), Type::DOUBLE
);
171 DependencyProperty::Register (this, Type::SHAPE
, "StrokeDashCap", false, new Value (PenLineCapFlat
), Type::INT32
);
172 DependencyProperty::Register (this, Type::SHAPE
, "StrokeDashArray", false, Type::DOUBLE_COLLECTION
);
173 DependencyProperty::RegisterFull (this, Type::SHAPE
, "Stretch", false, NULL
, Type::INT32
, false, false, false, NULL
, NULL
, Shape::CreateDefaultStretch
, false);
174 DependencyProperty::Register (this, Type::SHAPE
, "Fill", false, Type::BRUSH
);
175 DependencyProperty::Register (this, Type::MEDIABASE
, "Stretch", false, new Value (StretchUniform
), Type::INT32
);
176 DependencyProperty::RegisterFull (this, Type::MEDIABASE
, "Source", false, NULL
, Type::STRING
, false, false, true, NULL
, NULL
, NULL
, false);
177 DependencyProperty::Register (this, Type::MEDIABASE
, "DownloadProgress", false, new Value (0.0), Type::DOUBLE
);
178 DependencyProperty::Register (this, Type::GLYPHS
, "UnicodeString", false, new Value (""), Type::STRING
);
179 DependencyProperty::Register (this, Type::GLYPHS
, "StyleSimulations", false, new Value (StyleSimulationsNone
), Type::INT32
);
180 DependencyProperty::RegisterFull (this, Type::GLYPHS
, "OriginY", false, new Value (-HUGE
), Type::DOUBLE
, false, false, false, NULL
, Validators::FloatValidator
, NULL
, false);
181 DependencyProperty::RegisterFull (this, Type::GLYPHS
, "OriginX", false, new Value (-HUGE
), Type::DOUBLE
, false, false, false, NULL
, Validators::FloatValidator
, NULL
, false);
182 DependencyProperty::Register (this, Type::GLYPHS
, "Indices", false, new Value (""), Type::STRING
);
183 DependencyProperty::RegisterFull (this, Type::GLYPHS
, "FontUri", false, new Value (Uri()), Type::URI
, false, false, false, NULL
, Validators::NonNullValidator
, NULL
, false);
184 DependencyProperty::Register (this, Type::GLYPHS
, "FontRenderingEmSize", false, new Value (0.0), Type::DOUBLE
);
185 DependencyProperty::Register (this, Type::GLYPHS
, "Fill", false, Type::BRUSH
);
186 DependencyProperty::Register (this, Type::CONTROL
, "VerticalContentAlignment", false, new Value (VerticalAlignmentCenter
), Type::INT32
);
187 DependencyProperty::RegisterFull (this, Type::CONTROL
, "Template", false, NULL
, Type::CONTROLTEMPLATE
, false, false, false, NULL
, Validators::TemplateValidator
, NULL
, false);
188 DependencyProperty::Register (this, Type::CONTROL
, "TabNavigation", false, new Value (KeyboardNavigationModeLocal
), Type::INT32
);
189 DependencyProperty::Register (this, Type::CONTROL
, "TabIndex", false, new Value (INT_MAX
), Type::INT32
);
190 DependencyProperty::Register (this, Type::CONTROL
, "Padding", false, new Value (Thickness(0.0)), Type::THICKNESS
);
191 DependencyProperty::RegisterFull (this, Type::CONTROL
, "IsTemplateItem", false, new Value (false), Type::BOOL
, true, false, false, NULL
, NULL
, NULL
, false);
192 DependencyProperty::Register (this, Type::CONTROL
, "IsTabStop", false, new Value (true), Type::BOOL
);
193 DependencyProperty::Register (this, Type::CONTROL
, "IsEnabled", false, new Value (true), Type::BOOL
);
194 DependencyProperty::Register (this, Type::CONTROL
, "HorizontalContentAlignment", false, new Value (HorizontalAlignmentCenter
), Type::INT32
);
195 DependencyProperty::Register (this, Type::CONTROL
, "Foreground", false, Value::CreateUnrefPtr (new SolidColorBrush("black")), Type::BRUSH
);
196 DependencyProperty::Register (this, Type::CONTROL
, "FontWeight", false, new Value (FontWeight(CONTROL_FONT_WEIGHT
)), Type::FONTWEIGHT
);
197 DependencyProperty::Register (this, Type::CONTROL
, "FontStyle", false, new Value (FontStyle(CONTROL_FONT_STYLE
)), Type::FONTSTYLE
);
198 DependencyProperty::Register (this, Type::CONTROL
, "FontStretch", false, new Value (FontStretch(CONTROL_FONT_STRETCH
)), Type::FONTSTRETCH
);
199 DependencyProperty::RegisterFull (this, Type::CONTROL
, "FontSize", false, NULL
, Type::DOUBLE
, false, false, false, NULL
, NULL
, AutoCreators::CreateDefaultFontSize
, false);
200 DependencyProperty::Register (this, Type::CONTROL
, "FontFamily", false, new Value (FontFamily(CONTROL_FONT_FAMILY
)), Type::FONTFAMILY
);
201 DependencyProperty::Register (this, Type::CONTROL
, "DefaultStyleKey", false, Type::MANAGEDTYPEINFO
);
202 DependencyProperty::Register (this, Type::CONTROL
, "BorderThickness", false, new Value (Thickness(0.0)), Type::THICKNESS
);
203 DependencyProperty::Register (this, Type::CONTROL
, "BorderBrush", false, Type::BRUSH
);
204 DependencyProperty::Register (this, Type::CONTROL
, "Background", false, Type::BRUSH
);
205 DependencyProperty::RegisterFull (this, Type::PANEL
, "Children", false, NULL
, Type::UIELEMENT_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
206 DependencyProperty::Register (this, Type::PANEL
, "Background", false, Type::BRUSH
);
207 DependencyProperty::RegisterFull (this, Type::BORDER
, "Padding", false, new Value (Thickness(0)), Type::THICKNESS
, false, false, false, NULL
, Validators::BorderThicknessValidator
, NULL
, false);
208 DependencyProperty::RegisterFull (this, Type::BORDER
, "CornerRadius", false, new Value (CornerRadius(0)), Type::CORNERRADIUS
, false, false, false, NULL
, Validators::CornerRadiusValidator
, NULL
, false);
209 DependencyProperty::Register (this, Type::BORDER
, "Child", false, Type::UIELEMENT
);
210 DependencyProperty::RegisterFull (this, Type::BORDER
, "BorderThickness", false, new Value (Thickness(0)), Type::THICKNESS
, false, false, false, NULL
, Validators::BorderThicknessValidator
, NULL
, false);
211 DependencyProperty::Register (this, Type::BORDER
, "BorderBrush", false, Type::BRUSH
);
212 DependencyProperty::Register (this, Type::BORDER
, "Background", false, Type::BRUSH
);
213 DependencyProperty::RegisterFull (this, Type::TIMELINEGROUP
, "Children", false, NULL
, Type::TIMELINE_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
214 DependencyProperty::RegisterFull (this, Type::SETTER
, "Value", false, NULL
, Type::OBJECT
, false, false, false, NULL
, Validators::IsSetterSealedValidator
, NULL
, false);
215 DependencyProperty::RegisterFull (this, Type::SETTER
, "Property", false, NULL
, Type::DEPENDENCYPROPERTY
, false, false, false, NULL
, Validators::IsSetterSealedValidator
, NULL
, false);
216 DependencyProperty::Register (this, Type::SETTER
, "ConvertedValue", false, Type::OBJECT
);
217 DependencyProperty::Register (this, Type::RUN
, "Text", false, Type::STRING
);
218 DependencyProperty::Register (this, Type::RECTANGLEGEOMETRY
, "Rect", false, Type::RECT
);
219 DependencyProperty::Register (this, Type::RECTANGLEGEOMETRY
, "RadiusY", false, new Value (0.0), Type::DOUBLE
);
220 DependencyProperty::Register (this, Type::RECTANGLEGEOMETRY
, "RadiusX", false, new Value (0.0), Type::DOUBLE
);
221 DependencyProperty::Register (this, Type::PATHGEOMETRY
, "FillRule", false, new Value (FillRuleEvenOdd
), Type::INT32
);
222 DependencyProperty::RegisterFull (this, Type::PATHGEOMETRY
, "Figures", false, NULL
, Type::PATHFIGURE_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
223 DependencyProperty::Register (this, Type::LINEGEOMETRY
, "StartPoint", false, Type::POINT
);
224 DependencyProperty::Register (this, Type::LINEGEOMETRY
, "EndPoint", false, Type::POINT
);
225 DependencyProperty::Register (this, Type::GEOMETRYGROUP
, "FillRule", false, new Value (FillRuleEvenOdd
), Type::INT32
);
226 DependencyProperty::RegisterFull (this, Type::GEOMETRYGROUP
, "Children", false, NULL
, Type::GEOMETRY_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
227 DependencyProperty::Register (this, Type::ELLIPSEGEOMETRY
, "RadiusY", false, new Value (0.0), Type::DOUBLE
);
228 DependencyProperty::Register (this, Type::ELLIPSEGEOMETRY
, "RadiusX", false, new Value (0.0), Type::DOUBLE
);
229 DependencyProperty::Register (this, Type::ELLIPSEGEOMETRY
, "Center", false, Type::POINT
);
230 DependencyProperty::Register (this, Type::DEEPZOOMIMAGETILESOURCE
, "UriSource", false, Type::URI
);
231 DependencyProperty::RegisterFull (this, Type::RESOURCE_DICTIONARY
, "MergedDictionaries", false, NULL
, Type::RESOURCE_DICTIONARY_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
232 DependencyProperty::Register (this, Type::FRAMEWORKELEMENT
, "Width", false, new Value (NAN
), Type::DOUBLE
);
233 DependencyProperty::Register (this, Type::FRAMEWORKELEMENT
, "VerticalAlignment", false, new Value (VerticalAlignmentStretch
), Type::INT32
);
234 DependencyProperty::RegisterFull (this, Type::FRAMEWORKELEMENT
, "Style", false, NULL
, Type::STYLE
, false, false, false, NULL
, Validators::StyleValidator
, NULL
, false);
235 DependencyProperty::Register (this, Type::FRAMEWORKELEMENT
, "MinWidth", false, new Value (0.0), Type::DOUBLE
);
236 DependencyProperty::Register (this, Type::FRAMEWORKELEMENT
, "MinHeight", false, new Value (0.0), Type::DOUBLE
);
237 DependencyProperty::Register (this, Type::FRAMEWORKELEMENT
, "MaxWidth", false, new Value (INFINITY
), Type::DOUBLE
);
238 DependencyProperty::Register (this, Type::FRAMEWORKELEMENT
, "MaxHeight", false, new Value (INFINITY
), Type::DOUBLE
);
239 DependencyProperty::Register (this, Type::FRAMEWORKELEMENT
, "Margin", false, new Value (Thickness (0)), Type::THICKNESS
);
240 DependencyProperty::RegisterFull (this, Type::FRAMEWORKELEMENT
, "Language", false, new Value ("en-US"), Type::STRING
, false, false, false, NULL
, Validators::NonNullValidator
, NULL
, false);
241 DependencyProperty::Register (this, Type::FRAMEWORKELEMENT
, "HorizontalAlignment", false, new Value (HorizontalAlignmentStretch
), Type::INT32
);
242 DependencyProperty::Register (this, Type::FRAMEWORKELEMENT
, "Height", false, new Value (NAN
), Type::DOUBLE
);
243 DependencyProperty::Register (this, Type::FRAMEWORKELEMENT
, "DataContext", false, Type::OBJECT
);
244 DependencyProperty::RegisterFull (this, Type::FRAMEWORKELEMENT
, "ActualWidth", false, new Value (0.0), Type::DOUBLE
, false, true, false, NULL
, NULL
, NULL
, false);
245 DependencyProperty::RegisterFull (this, Type::FRAMEWORKELEMENT
, "ActualHeight", false, new Value (0.0), Type::DOUBLE
, false, true, false, NULL
, NULL
, NULL
, false);
246 DependencyProperty::Register (this, Type::POWEREASE
, "Power", false, new Value (2.0), Type::DOUBLE
);
247 DependencyProperty::Register (this, Type::EXPONENTIALEASE
, "Exponent", false, new Value (2.0), Type::DOUBLE
);
248 DependencyProperty::Register (this, Type::ELASTICEASE
, "Springiness", false, new Value (3.0), Type::DOUBLE
);
249 DependencyProperty::Register (this, Type::ELASTICEASE
, "Oscillations", false, new Value (3), Type::INT32
);
250 DependencyProperty::Register (this, Type::BOUNCEEASE
, "Bounciness", false, new Value (2.0), Type::DOUBLE
);
251 DependencyProperty::Register (this, Type::BOUNCEEASE
, "Bounces", false, new Value (3), Type::INT32
);
252 DependencyProperty::Register (this, Type::BACKEASE
, "Amplitude", false, new Value (1.0), Type::DOUBLE
);
253 DependencyProperty::RegisterFull (this, Type::SPLINEPOINTKEYFRAME
, "KeySpline", false, NULL
, Type::KEYSPLINE
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
254 DependencyProperty::Register (this, Type::EASINGPOINTKEYFRAME
, "EasingFunction", false, Type::EASINGFUNCTIONBASE
);
255 DependencyProperty::RegisterFull (this, Type::POINTANIMATIONUSINGKEYFRAMES
, "KeyFrames", false, NULL
, Type::POINTKEYFRAME_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
256 DependencyProperty::RegisterFull (this, Type::SPLINEDOUBLEKEYFRAME
, "KeySpline", false, NULL
, Type::KEYSPLINE
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
257 DependencyProperty::Register (this, Type::EASINGDOUBLEKEYFRAME
, "EasingFunction", false, Type::EASINGFUNCTIONBASE
);
258 DependencyProperty::RegisterFull (this, Type::DOUBLEANIMATIONUSINGKEYFRAMES
, "KeyFrames", false, NULL
, Type::DOUBLEKEYFRAME_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
259 DependencyProperty::Register (this, Type::WINDOWSETTINGS
, "Width", false, new Value (""), Type::STRING
);
260 DependencyProperty::RegisterFull (this, Type::WINDOWSETTINGS
, "Title", false, new Value (""), Type::STRING
, false, false, false, NULL
, Validators::NonNullValidator
, NULL
, false);
261 DependencyProperty::Register (this, Type::WINDOWSETTINGS
, "Height", false, new Value (""), Type::STRING
);
262 DependencyProperty::Register (this, Type::TIMELINEMARKER
, "Type", false, Type::STRING
);
263 DependencyProperty::Register (this, Type::TIMELINEMARKER
, "Time", false, Type::TIMESPAN
);
264 DependencyProperty::Register (this, Type::TIMELINEMARKER
, "Text", false, Type::STRING
);
265 DependencyProperty::Register (this, Type::TIMELINE
, "SpeedRatio", false, new Value (1.0), Type::DOUBLE
);
266 DependencyProperty::Register (this, Type::TIMELINE
, "RepeatBehavior", false, new Value (RepeatBehavior ((double) 1)), Type::REPEATBEHAVIOR
);
267 DependencyProperty::Register (this, Type::TIMELINE
, "FillBehavior", false, new Value (FillBehaviorHoldEnd
), Type::INT32
);
268 DependencyProperty::Register (this, Type::TIMELINE
, "Duration", false, new Value (Duration::Automatic
), Type::DURATION
);
269 DependencyProperty::RegisterFull (this, Type::TIMELINE
, "BeginTime", false, new Value ((gint64
) 0, Type::TIMESPAN
), Type::TIMESPAN
, false, false, false, NULL
, NULL
, NULL
, true);
270 DependencyProperty::Register (this, Type::TIMELINE
, "AutoReverse", false, new Value (false), Type::BOOL
);
271 DependencyProperty::Register (this, Type::STYLUSPOINT
, "Y", false, new Value (0.0), Type::DOUBLE
);
272 DependencyProperty::Register (this, Type::STYLUSPOINT
, "X", false, new Value (0.0), Type::DOUBLE
);
273 DependencyProperty::Register (this, Type::STYLUSPOINT
, "PressureFactor", false, new Value (0.5), Type::DOUBLE
);
274 DependencyProperty::Register (this, Type::STYLUSINFO
, "IsInverted", false, new Value (false), Type::BOOL
);
275 DependencyProperty::Register (this, Type::STYLUSINFO
, "DeviceType", false, new Value (TabletDeviceTypeMouse
), Type::INT32
);
276 DependencyProperty::Register (this, Type::STYLE
, "TargetType", false, Type::MANAGEDTYPEINFO
);
277 DependencyProperty::RegisterFull (this, Type::STYLE
, "Setters", false, NULL
, Type::SETTERBASE_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
278 DependencyProperty::Register (this, Type::STYLE
, "IsSealed", false, new Value (false), Type::BOOL
);
279 DependencyProperty::RegisterFull (this, Type::STROKE
, "StylusPoints", false, NULL
, Type::STYLUSPOINT_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
280 DependencyProperty::RegisterFull (this, Type::STROKE
, "DrawingAttributes", false, NULL
, Type::DRAWINGATTRIBUTES
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
281 DependencyProperty::Register (this, Type::SETTERBASE
, "IsSealed", false, new Value (false), Type::BOOL
);
282 DependencyProperty::Register (this, Type::ROWDEFINITION
, "MinHeight", false, new Value (0.0), Type::DOUBLE
);
283 DependencyProperty::Register (this, Type::ROWDEFINITION
, "MaxHeight", false, new Value (INFINITY
), Type::DOUBLE
);
284 DependencyProperty::Register (this, Type::ROWDEFINITION
, "Height", false, new Value (GridLength (1.0, GridUnitTypeStar
)), Type::GRIDLENGTH
);
285 DependencyProperty::Register (this, Type::ROWDEFINITION
, "ActualHeight", false, new Value (0.0), Type::DOUBLE
);
286 DependencyProperty::Register (this, Type::PIXELSHADER
, "UriSource", false, Type::URI
);
287 DependencyProperty::Register (this, Type::PATHFIGURE
, "StartPoint", false, Type::POINT
);
288 DependencyProperty::RegisterFull (this, Type::PATHFIGURE
, "Segments", false, NULL
, Type::PATHSEGMENT_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
289 DependencyProperty::Register (this, Type::PATHFIGURE
, "IsFilled", false, new Value (true), Type::BOOL
);
290 DependencyProperty::Register (this, Type::PATHFIGURE
, "IsClosed", false, new Value (false), Type::BOOL
);
291 DependencyProperty::Register (this, Type::OUTOFBROWSERSETTINGS
, "WindowSettings", false, Type::WINDOWSETTINGS
);
292 DependencyProperty::Register (this, Type::OUTOFBROWSERSETTINGS
, "ShowInstallMenuItem", false, new Value (true), Type::BOOL
);
293 DependencyProperty::RegisterFull (this, Type::OUTOFBROWSERSETTINGS
, "ShortName", false, new Value (""), Type::STRING
, false, false, false, NULL
, Validators::NonNullValidator
, NULL
, false);
294 DependencyProperty::Register (this, Type::OUTOFBROWSERSETTINGS
, "Icons", false, Type::ICON_COLLECTION
);
295 DependencyProperty::Register (this, Type::OUTOFBROWSERSETTINGS
, "EnableGPUAcceleration", false, new Value (true), Type::BOOL
);
296 DependencyProperty::RegisterFull (this, Type::OUTOFBROWSERSETTINGS
, "Blurb", false, new Value (""), Type::STRING
, false, false, false, NULL
, Validators::NonNullValidator
, NULL
, false);
297 DependencyProperty::RegisterFull (this, Type::NAMESCOPE
, "NameScope", false, NULL
, Type::NAMESCOPE
, true, false, false, NULL
, NULL
, NULL
, false);
298 DependencyProperty::Register (this, Type::MULTISCALESUBIMAGE
, "ZIndex", false, new Value (0), Type::INT32
);
299 DependencyProperty::Register (this, Type::MULTISCALESUBIMAGE
, "ViewportWidth", false, new Value (1.0), Type::DOUBLE
);
300 DependencyProperty::Register (this, Type::MULTISCALESUBIMAGE
, "ViewportOrigin", false, new Value (Point(0,0)), Type::POINT
);
301 DependencyProperty::Register (this, Type::MULTISCALESUBIMAGE
, "Opacity", false, new Value (1.0), Type::DOUBLE
);
302 DependencyProperty::RegisterFull (this, Type::MULTISCALESUBIMAGE
, "AspectRatio", false, new Value (1.0), Type::DOUBLE
, false, true, false, NULL
, NULL
, NULL
, false);
303 DependencyProperty::Register (this, Type::MEDIAATTRIBUTE
, "Value", false, Type::STRING
);
304 DependencyProperty::Register (this, Type::MATRIX
, "OffsetY", false, new Value (0.0), Type::DOUBLE
);
305 DependencyProperty::Register (this, Type::MATRIX
, "OffsetX", false, new Value (0.0), Type::DOUBLE
);
306 DependencyProperty::Register (this, Type::MATRIX
, "M22", false, new Value (1.0), Type::DOUBLE
);
307 DependencyProperty::Register (this, Type::MATRIX
, "M21", false, new Value (0.0), Type::DOUBLE
);
308 DependencyProperty::Register (this, Type::MATRIX
, "M12", false, new Value (0.0), Type::DOUBLE
);
309 DependencyProperty::Register (this, Type::MATRIX
, "M11", false, new Value (1.0), Type::DOUBLE
);
310 DependencyProperty::Register (this, Type::KEYSPLINE
, "ControlPoint2", false, new Value (Point (1.0, 1.0)), Type::POINT
);
311 DependencyProperty::Register (this, Type::KEYSPLINE
, "ControlPoint1", false, new Value (Point (0,0)), Type::POINT
);
312 DependencyProperty::RegisterFull (this, Type::INPUTMETHOD
, "IsInputMethodEnabled", false, new Value (true), Type::BOOL
, true, false, false, NULL
, Validators::IsInputMethodEnabledValidator
, NULL
, false);
313 DependencyProperty::Register (this, Type::INLINE
, "TextDecorations", false, new Value (TextDecorationsNone
), Type::INT32
);
314 DependencyProperty::RegisterFull (this, Type::INLINE
, "Language", false, new Value ("en-US"), Type::STRING
, false, false, false, NULL
, Validators::NonNullValidator
, NULL
, false);
315 DependencyProperty::Register (this, Type::INLINE
, "Foreground", false, Value::CreateUnrefPtr (new SolidColorBrush("black")), Type::BRUSH
);
316 DependencyProperty::Register (this, Type::INLINE
, "FontWeight", false, new Value (FontWeight(TEXTBLOCK_FONT_WEIGHT
)), Type::FONTWEIGHT
);
317 DependencyProperty::Register (this, Type::INLINE
, "FontStyle", false, new Value (FontStyle(TEXTBLOCK_FONT_STYLE
)), Type::FONTSTYLE
);
318 DependencyProperty::Register (this, Type::INLINE
, "FontStretch", false, new Value (FontStretch(TEXTBLOCK_FONT_STRETCH
)), Type::FONTSTRETCH
);
319 DependencyProperty::Register (this, Type::INLINE
, "FontSource", false, Type::FONTSOURCE
);
320 DependencyProperty::RegisterFull (this, Type::INLINE
, "FontSize", false, NULL
, Type::DOUBLE
, false, false, false, NULL
, NULL
, AutoCreators::CreateDefaultFontSize
, false);
321 DependencyProperty::Register (this, Type::INLINE
, "FontFamily", false, new Value (FontFamily(TEXTBLOCK_FONT_FAMILY
)), Type::FONTFAMILY
);
322 DependencyProperty::Register (this, Type::ICON
, "Source", false, Type::URI
);
323 DependencyProperty::Register (this, Type::ICON
, "Size", false, Type::SIZE
);
324 DependencyProperty::Register (this, Type::GRADIENTSTOP
, "Offset", false, new Value (0.0), Type::DOUBLE
);
325 DependencyProperty::Register (this, Type::GRADIENTSTOP
, "Color", false, new Value (Color (0x00000000)), Type::COLOR
);
326 DependencyProperty::Register (this, Type::GEOMETRY
, "Transform", false, Type::TRANSFORM
);
327 DependencyProperty::Register (this, Type::DRAWINGATTRIBUTES
, "Width", false, new Value (3.0), Type::DOUBLE
);
328 DependencyProperty::Register (this, Type::DRAWINGATTRIBUTES
, "OutlineColor", false, new Value (Color (0x00000000)), Type::COLOR
);
329 DependencyProperty::Register (this, Type::DRAWINGATTRIBUTES
, "Height", false, new Value (3.0), Type::DOUBLE
);
330 DependencyProperty::Register (this, Type::DRAWINGATTRIBUTES
, "Color", false, new Value (Color (0xFF000000)), Type::COLOR
);
331 DependencyProperty::Register (this, Type::DOWNLOADER
, "Uri", false, Type::URI
);
332 DependencyProperty::Register (this, Type::DOWNLOADER
, "StatusText", false, new Value (""), Type::STRING
);
333 DependencyProperty::Register (this, Type::DOWNLOADER
, "Status", false, new Value (0), Type::INT32
);
334 DependencyProperty::Register (this, Type::DOWNLOADER
, "ResponseText", false, Type::STRING
);
335 DependencyProperty::Register (this, Type::DOWNLOADER
, "DownloadProgress", false, new Value (0.0), Type::DOUBLE
);
336 DependencyProperty::Register (this, Type::DEPLOYMENT
, "Surface", false, Type::SURFACE
);
337 DependencyProperty::Register (this, Type::DEPLOYMENT
, "RuntimeVersion", false, Type::STRING
);
338 DependencyProperty::Register (this, Type::DEPLOYMENT
, "Parts", false, Type::ASSEMBLYPART_COLLECTION
);
339 DependencyProperty::Register (this, Type::DEPLOYMENT
, "OutOfBrowserSettings", false, Type::OUTOFBROWSERSETTINGS
);
340 DependencyProperty::RegisterFull (this, Type::DEPLOYMENT
, "ExternalParts", false, NULL
, Type::EXTERNALPART_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
341 DependencyProperty::RegisterFull (this, Type::DEPLOYMENT
, "ExternalCallersFromCrossDomain", false, new Value (CrossDomainAccessNoAccess
), Type::INT32
, false, false, false, NULL
, Validators::CrossDomainValidator
, NULL
, false);
342 DependencyProperty::Register (this, Type::DEPLOYMENT
, "EntryPointType", false, Type::STRING
);
343 DependencyProperty::Register (this, Type::DEPLOYMENT
, "EntryPointAssembly", false, Type::STRING
);
344 DependencyProperty::Register (this, Type::MULTISCALETILESOURCE
, "TileWidth", false, Type::INT32
);
345 DependencyProperty::Register (this, Type::MULTISCALETILESOURCE
, "TileOverlap", false, Type::INT32
);
346 DependencyProperty::Register (this, Type::MULTISCALETILESOURCE
, "TileHeight", false, Type::INT32
);
347 DependencyProperty::Register (this, Type::MULTISCALETILESOURCE
, "TileBlendTime", false, new Value ((gint64
) TimeSpan_FromSecondsFloat (0.5),Type::TIMESPAN
), Type::TIMESPAN
);
348 DependencyProperty::Register (this, Type::MULTISCALETILESOURCE
, "ImageWidth", false, Type::DOUBLE
);
349 DependencyProperty::Register (this, Type::MULTISCALETILESOURCE
, "ImageHeight", false, Type::DOUBLE
);
350 DependencyProperty::Register (this, Type::COLUMNDEFINITION
, "Width", false, new Value (GridLength (1.0, GridUnitTypeStar
)), Type::GRIDLENGTH
);
351 DependencyProperty::Register (this, Type::COLUMNDEFINITION
, "MinWidth", false, new Value (0.0), Type::DOUBLE
);
352 DependencyProperty::Register (this, Type::COLUMNDEFINITION
, "MaxWidth", false, new Value (INFINITY
), Type::DOUBLE
);
353 DependencyProperty::Register (this, Type::COLUMNDEFINITION
, "ActualWidth", false, new Value (0.0), Type::DOUBLE
);
354 DependencyProperty::Register (this, Type::COLLECTION
, "Count", false, new Value (0), Type::INT32
);
355 DependencyProperty::Register (this, Type::UIELEMENT
, "Visibility", false, new Value (VisibilityVisible
), Type::INT32
);
356 DependencyProperty::Register (this, Type::UIELEMENT
, "UseLayoutRounding", false, new Value (true), Type::BOOL
);
357 DependencyProperty::RegisterFull (this, Type::UIELEMENT
, "Triggers", false, NULL
, Type::TRIGGER_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
358 DependencyProperty::Register (this, Type::UIELEMENT
, "Tag", true, Type::OBJECT
);
359 DependencyProperty::RegisterFull (this, Type::UIELEMENT
, "Resources", false, NULL
, Type::RESOURCE_DICTIONARY
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
360 DependencyProperty::Register (this, Type::UIELEMENT
, "RenderTransform", false, Type::TRANSFORM
);
361 DependencyProperty::Register (this, Type::UIELEMENT
, "RenderTransformOrigin", false, new Value (Point (0,0)), Type::POINT
);
362 DependencyProperty::Register (this, Type::UIELEMENT
, "Opacity", false, new Value (1.0), Type::DOUBLE
);
363 DependencyProperty::Register (this, Type::UIELEMENT
, "OpacityMask", false, Type::BRUSH
);
364 DependencyProperty::Register (this, Type::UIELEMENT
, "IsHitTestVisible", false, new Value (true), Type::BOOL
);
365 DependencyProperty::Register (this, Type::UIELEMENT
, "Effect", false, Type::EFFECT
);
366 DependencyProperty::RegisterFull (this, Type::UIELEMENT
, "Cursor", false, new Value (MouseCursorDefault
), Type::INT32
, false, false, false, NULL
, Validators::CursorValidator
, NULL
, false);
367 DependencyProperty::Register (this, Type::UIELEMENT
, "Clip", false, Type::GEOMETRY
);
368 DependencyProperty::Register (this, Type::UIELEMENT
, "CacheMode", false, Type::CACHEMODE
);
369 DependencyProperty::Register (this, Type::EASINGFUNCTIONBASE
, "EasingMode", false, new Value (EasingModeOut
), Type::INT32
);
370 DependencyProperty::Register (this, Type::ASSEMBLYPART
, "Source", false, new Value (""), Type::STRING
);
371 DependencyProperty::RegisterFull (this, Type::APPLICATION
, "Resources", false, NULL
, Type::RESOURCE_DICTIONARY
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
372 DependencyProperty::Register (this, Type::ACCESSIBILITY
, "Title", false, new Value ("Silverlight Content"), Type::STRING
);
373 DependencyProperty::Register (this, Type::ACCESSIBILITY
, "Description", false, new Value (""), Type::STRING
);
374 DependencyProperty::Register (this, Type::ACCESSIBILITY
, "ActionDescription", false, new Value (""), Type::STRING
);
375 DependencyProperty::RegisterFull (this, Type::SPLINECOLORKEYFRAME
, "KeySpline", false, NULL
, Type::KEYSPLINE
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
376 DependencyProperty::Register (this, Type::EASINGCOLORKEYFRAME
, "EasingFunction", false, Type::EASINGFUNCTIONBASE
);
377 DependencyProperty::RegisterFull (this, Type::COLORANIMATIONUSINGKEYFRAMES
, "KeyFrames", false, NULL
, Type::COLORKEYFRAME_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
378 DependencyProperty::RegisterFull (this, Type::BITMAPIMAGE
, "UriSource", false, new Value (Uri()), Type::URI
, false, false, true, NULL
, NULL
, NULL
, false);
379 DependencyProperty::Register (this, Type::BITMAPIMAGE
, "Progress", false, new Value (0.0), Type::DOUBLE
);
380 DependencyProperty::Register (this, Type::TRANSLATETRANSFORM
, "Y", false, new Value (0.0), Type::DOUBLE
);
381 DependencyProperty::Register (this, Type::TRANSLATETRANSFORM
, "X", false, new Value (0.0), Type::DOUBLE
);
382 DependencyProperty::RegisterFull (this, Type::TRANSFORMGROUP
, "Children", false, NULL
, Type::TRANSFORM_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
383 DependencyProperty::RegisterFull (this, Type::TEXTOPTIONS
, "TextHintingMode", false, NULL
, Type::INT32
, true, false, false, NULL
, NULL
, NULL
, false);
384 DependencyProperty::Register (this, Type::TEXTBOX
, "VerticalScrollBarVisibility", false, new Value (ScrollBarVisibilityHidden
), Type::INT32
);
385 DependencyProperty::Register (this, Type::TEXTBOX
, "TextWrapping", false, new Value (TextWrappingNoWrap
), Type::INT32
);
386 DependencyProperty::Register (this, Type::TEXTBOX
, "Text", false, Type::STRING
);
387 DependencyProperty::Register (this, Type::TEXTBOX
, "TextAlignment", false, new Value (TextAlignmentLeft
), Type::INT32
);
388 DependencyProperty::RegisterFull (this, Type::TEXTBOX
, "SelectionStart", false, new Value (0), Type::INT32
, false, false, true, NULL
, Validators::PositiveIntValidator
, NULL
, false);
389 DependencyProperty::RegisterFull (this, Type::TEXTBOX
, "SelectionLength", false, new Value (0), Type::INT32
, false, false, true, NULL
, Validators::PositiveIntValidator
, NULL
, false);
390 DependencyProperty::Register (this, Type::TEXTBOX
, "SelectionForeground", false, Type::BRUSH
);
391 DependencyProperty::Register (this, Type::TEXTBOX
, "SelectionBackground", false, Type::BRUSH
);
392 DependencyProperty::RegisterFull (this, Type::TEXTBOX
, "SelectedText", false, new Value (""), Type::STRING
, false, false, true, NULL
, NULL
, NULL
, false);
393 DependencyProperty::RegisterFull (this, Type::TEXTBOX
, "MaxLength", false, new Value (0), Type::INT32
, false, false, false, NULL
, Validators::PositiveIntValidator
, NULL
, false);
394 DependencyProperty::Register (this, Type::TEXTBOX
, "IsReadOnly", false, new Value (false), Type::BOOL
);
395 DependencyProperty::Register (this, Type::TEXTBOX
, "HorizontalScrollBarVisibility", false, new Value (ScrollBarVisibilityHidden
), Type::INT32
);
396 DependencyProperty::Register (this, Type::TEXTBOX
, "FontSource", false, Type::FONTSOURCE
);
397 DependencyProperty::Register (this, Type::TEXTBOX
, "CaretBrush", false, Value::CreateUnrefPtr (new SolidColorBrush("black")), Type::BRUSH
);
398 DependencyProperty::Register (this, Type::TEXTBOX
, "AcceptsReturn", false, new Value (false), Type::BOOL
);
399 DependencyProperty::RegisterFull (this, Type::STORYBOARD
, "TargetProperty", false, NULL
, Type::PROPERTYPATH
, true, false, false, NULL
, Validators::StoryboardTargetPropertyValidator
, NULL
, false);
400 DependencyProperty::RegisterFull (this, Type::STORYBOARD
, "TargetName", false, NULL
, Type::STRING
, true, false, false, NULL
, Validators::IsTimelineValidator
, NULL
, false);
401 DependencyProperty::Register (this, Type::SKEWTRANSFORM
, "CenterY", false, new Value (0.0), Type::DOUBLE
);
402 DependencyProperty::Register (this, Type::SKEWTRANSFORM
, "CenterX", false, new Value (0.0), Type::DOUBLE
);
403 DependencyProperty::Register (this, Type::SKEWTRANSFORM
, "AngleY", false, new Value (0.0), Type::DOUBLE
);
404 DependencyProperty::Register (this, Type::SKEWTRANSFORM
, "AngleX", false, new Value (0.0), Type::DOUBLE
);
405 DependencyProperty::Register (this, Type::SHADEREFFECT
, "PixelShader", false, Type::PIXELSHADER
);
406 DependencyProperty::Register (this, Type::SHADEREFFECT
, "PaddingTop", false, Type::DOUBLE
);
407 DependencyProperty::Register (this, Type::SHADEREFFECT
, "PaddingRight", false, Type::DOUBLE
);
408 DependencyProperty::Register (this, Type::SHADEREFFECT
, "PaddingLeft", false, Type::DOUBLE
);
409 DependencyProperty::Register (this, Type::SHADEREFFECT
, "PaddingBottom", false, Type::DOUBLE
);
410 DependencyProperty::Register (this, Type::SHADEREFFECT
, "DdxUvDdyUvRegisterIndex", false, Type::INT32
);
411 DependencyProperty::Register (this, Type::SETTERBASE_COLLECTION
, "IsSealed", false, new Value (false), Type::BOOL
);
412 DependencyProperty::Register (this, Type::SCALETRANSFORM
, "ScaleY", false, new Value (1.0), Type::DOUBLE
);
413 DependencyProperty::Register (this, Type::SCALETRANSFORM
, "ScaleX", false, new Value (1.0), Type::DOUBLE
);
414 DependencyProperty::Register (this, Type::SCALETRANSFORM
, "CenterY", false, new Value (0.0), Type::DOUBLE
);
415 DependencyProperty::Register (this, Type::SCALETRANSFORM
, "CenterX", false, new Value (0.0), Type::DOUBLE
);
416 DependencyProperty::Register (this, Type::ROTATETRANSFORM
, "CenterY", false, new Value (0.0), Type::DOUBLE
);
417 DependencyProperty::Register (this, Type::ROTATETRANSFORM
, "CenterX", false, new Value (0.0), Type::DOUBLE
);
418 DependencyProperty::Register (this, Type::ROTATETRANSFORM
, "Angle", false, new Value (0.0), Type::DOUBLE
);
419 DependencyProperty::Register (this, Type::QUADRATICBEZIERSEGMENT
, "Point2", false, Type::POINT
);
420 DependencyProperty::Register (this, Type::QUADRATICBEZIERSEGMENT
, "Point1", false, Type::POINT
);
421 DependencyProperty::RegisterFull (this, Type::POLYQUADRATICBEZIERSEGMENT
, "Points", false, NULL
, Type::POINT_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
422 DependencyProperty::RegisterFull (this, Type::POLYLINESEGMENT
, "Points", false, NULL
, Type::POINT_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
423 DependencyProperty::RegisterFull (this, Type::POLYBEZIERSEGMENT
, "Points", false, NULL
, Type::POINT_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
424 DependencyProperty::RegisterFull (this, Type::POINTKEYFRAME
, "Value", false, NULL
, Type::POINT
, false, false, false, NULL
, NULL
, NULL
, true);
425 DependencyProperty::RegisterFull (this, Type::POINTKEYFRAME
, "KeyTime", false, NULL
, Type::KEYTIME
, false, false, false, NULL
, NULL
, NULL
, true);
426 DependencyProperty::RegisterFull (this, Type::POINTANIMATION
, "To", false, NULL
, Type::POINT
, false, false, false, NULL
, NULL
, NULL
, true);
427 DependencyProperty::RegisterFull (this, Type::POINTANIMATION
, "From", false, NULL
, Type::POINT
, false, false, false, NULL
, NULL
, NULL
, true);
428 DependencyProperty::Register (this, Type::POINTANIMATION
, "EasingFunction", false, Type::EASINGFUNCTIONBASE
);
429 DependencyProperty::RegisterFull (this, Type::POINTANIMATION
, "By", false, NULL
, Type::POINT
, false, false, false, NULL
, NULL
, NULL
, true);
430 DependencyProperty::RegisterFull (this, Type::PASSWORDBOX
, "SelectionStart", false, new Value (0), Type::INT32
, false, false, false, NULL
, Validators::PositiveIntValidator
, NULL
, false);
431 DependencyProperty::RegisterFull (this, Type::PASSWORDBOX
, "SelectionLength", false, new Value (0), Type::INT32
, false, false, false, NULL
, Validators::PositiveIntValidator
, NULL
, false);
432 DependencyProperty::Register (this, Type::PASSWORDBOX
, "SelectionForeground", false, Type::BRUSH
);
433 DependencyProperty::Register (this, Type::PASSWORDBOX
, "SelectionBackground", false, Type::BRUSH
);
434 DependencyProperty::Register (this, Type::PASSWORDBOX
, "SelectedText", false, new Value (""), Type::STRING
);
435 DependencyProperty::RegisterFull (this, Type::PASSWORDBOX
, "Password", false, new Value (""), Type::STRING
, false, false, true, NULL
, Validators::NonNullValidator
, NULL
, false);
436 DependencyProperty::Register (this, Type::PASSWORDBOX
, "PasswordChar", false, new Value ((gunichar
) 9679, Type::CHAR
), Type::CHAR
);
437 DependencyProperty::RegisterFull (this, Type::PASSWORDBOX
, "MaxLength", false, new Value (0), Type::INT32
, false, false, false, NULL
, Validators::PositiveIntValidator
, NULL
, false);
438 DependencyProperty::Register (this, Type::PASSWORDBOX
, "FontSource", false, Type::FONTSOURCE
);
439 DependencyProperty::Register (this, Type::PASSWORDBOX
, "CaretBrush", false, Value::CreateUnrefPtr (new SolidColorBrush("black")), Type::BRUSH
);
440 DependencyProperty::Register (this, Type::OBJECTKEYFRAME
, "Value", false, Type::OBJECT
);
441 DependencyProperty::RegisterFull (this, Type::OBJECTKEYFRAME
, "KeyTime", false, NULL
, Type::KEYTIME
, false, false, false, NULL
, NULL
, NULL
, true);
442 DependencyProperty::Register (this, Type::OBJECTKEYFRAME
, "ConvertedValue", false, Type::OBJECT
);
443 DependencyProperty::RegisterFull (this, Type::OBJECTANIMATIONUSINGKEYFRAMES
, "KeyFrames", false, NULL
, Type::OBJECTKEYFRAME_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
444 DependencyProperty::Register (this, Type::MATRIXTRANSFORM
, "Matrix", false, Type::MATRIX
);
445 DependencyProperty::Register (this, Type::LINESEGMENT
, "Point", false, Type::POINT
);
446 DependencyProperty::RegisterFull (this, Type::LAYOUTINFORMATION
, "VisualOffset", false, NULL
, Type::POINT
, true, false, false, NULL
, NULL
, NULL
, false);
447 DependencyProperty::RegisterFull (this, Type::LAYOUTINFORMATION
, "PreviousConstraint", false, NULL
, Type::SIZE
, true, false, false, NULL
, NULL
, NULL
, false);
448 DependencyProperty::RegisterFull (this, Type::LAYOUTINFORMATION
, "LayoutSlot", false, NULL
, Type::RECT
, true, false, false, NULL
, NULL
, NULL
, false);
449 DependencyProperty::RegisterFull (this, Type::LAYOUTINFORMATION
, "LayoutClip", false, NULL
, Type::GEOMETRY
, true, false, false, NULL
, NULL
, NULL
, false);
450 DependencyProperty::RegisterFull (this, Type::LAYOUTINFORMATION
, "LastRenderSize", false, NULL
, Type::SIZE
, true, false, false, NULL
, NULL
, NULL
, false);
451 DependencyProperty::RegisterFull (this, Type::LAYOUTINFORMATION
, "FinalRect", false, NULL
, Type::SIZE
, true, false, false, NULL
, NULL
, NULL
, false);
452 DependencyProperty::RegisterFull (this, Type::EXTENSIONPART
, "Source", false, new Value (Uri()), Type::URI
, false, false, true, NULL
, NULL
, NULL
, false);
453 DependencyProperty::Register (this, Type::EVENTTRIGGER
, "RoutedEvent", false, Type::STRING
);
454 DependencyProperty::RegisterFull (this, Type::EVENTTRIGGER
, "Actions", false, NULL
, Type::TRIGGERACTION_COLLECTION
, false, false, false, NULL
, NULL
, AutoCreators::default_autocreator
, false);
455 DependencyProperty::Register (this, Type::DROPSHADOWEFFECT
, "ShadowDepth", false, new Value (5), Type::DOUBLE
);
456 DependencyProperty::Register (this, Type::DROPSHADOWEFFECT
, "Opacity", false, new Value (1.0), Type::DOUBLE
);
457 DependencyProperty::Register (this, Type::DROPSHADOWEFFECT
, "Direction", false, new Value (315), Type::DOUBLE
);
458 DependencyProperty::Register (this, Type::DROPSHADOWEFFECT
, "Color", false, new Value (Color(0xFF000000)), Type::COLOR
);
459 DependencyProperty::Register (this, Type::DROPSHADOWEFFECT
, "BlurRadius", false, new Value (5.0), Type::DOUBLE
);
460 DependencyProperty::RegisterFull (this, Type::DOUBLEKEYFRAME
, "Value", false, NULL
, Type::DOUBLE
, false, false, false, NULL
, NULL
, NULL
, true);
461 DependencyProperty::RegisterFull (this, Type::DOUBLEKEYFRAME
, "KeyTime", false, NULL
, Type::KEYTIME
, false, false, false, NULL
, NULL
, NULL
, true);
462 DependencyProperty::RegisterFull (this, Type::DOUBLEANIMATION
, "To", false, NULL
, Type::DOUBLE
, false, false, false, NULL
, NULL
, NULL
, true);
463 DependencyProperty::RegisterFull (this, Type::DOUBLEANIMATION
, "From", false, NULL
, Type::DOUBLE
, false, false, false, NULL
, NULL
, NULL
, true);
464 DependencyProperty::Register (this, Type::DOUBLEANIMATION
, "EasingFunction", false, Type::EASINGFUNCTIONBASE
);
465 DependencyProperty::RegisterFull (this, Type::DOUBLEANIMATION
, "By", false, NULL
, Type::DOUBLE
, false, false, false, NULL
, NULL
, NULL
, true);
466 DependencyProperty::RegisterFull (this, Type::DEPENDENCY_OBJECT
, "Name", false, new Value (""), Type::STRING
, false, false, false, NULL
, Validators::NameValidator
, NULL
, false);
467 DependencyProperty::Register (this, Type::CONTROLTEMPLATE
, "TargetType", false, Type::MANAGEDTYPEINFO
);
468 DependencyProperty::RegisterFull (this, Type::COLORKEYFRAME
, "Value", false, NULL
, Type::COLOR
, false, false, false, NULL
, NULL
, NULL
, true);
469 DependencyProperty::RegisterFull (this, Type::COLORKEYFRAME
, "KeyTime", false, NULL
, Type::KEYTIME
, false, false, false, NULL
, NULL
, NULL
, true);
470 DependencyProperty::RegisterFull (this, Type::COLORANIMATION
, "To", false, NULL
, Type::COLOR
, false, false, false, NULL
, NULL
, NULL
, true);
471 DependencyProperty::RegisterFull (this, Type::COLORANIMATION
, "From", false, NULL
, Type::COLOR
, false, false, false, NULL
, NULL
, NULL
, true);
472 DependencyProperty::Register (this, Type::COLORANIMATION
, "EasingFunction", false, Type::EASINGFUNCTIONBASE
);
473 DependencyProperty::RegisterFull (this, Type::COLORANIMATION
, "By", false, NULL
, Type::COLOR
, false, false, false, NULL
, NULL
, NULL
, true);
474 DependencyProperty::Register (this, Type::BLUREFFECT
, "Radius", false, new Value (5.0), Type::DOUBLE
);
475 DependencyProperty::RegisterFull (this, Type::BITMAPSOURCE
, "PixelWidth", false, new Value (0), Type::INT32
, false, false, false, NULL
, Validators::IntGreaterThanZeroValidator
, NULL
, false);
476 DependencyProperty::RegisterFull (this, Type::BITMAPSOURCE
, "PixelHeight", false, new Value (0), Type::INT32
, false, false, false, NULL
, Validators::IntGreaterThanZeroValidator
, NULL
, false);
477 DependencyProperty::Register (this, Type::BITMAPSOURCE
, "PixelFormat", false, new Value (PixelFormatPbgra32
), Type::INT32
);
478 DependencyProperty::RegisterFull (this, Type::BITMAPCACHE
, "RenderAtScale", false, new Value (1.0), Type::DOUBLE
, false, false, false, NULL
, Validators::DoubleGreaterThanZeroValidator
, NULL
, false);
479 DependencyProperty::Register (this, Type::BEZIERSEGMENT
, "Point3", false, Type::POINT
);
480 DependencyProperty::Register (this, Type::BEZIERSEGMENT
, "Point2", false, Type::POINT
);
481 DependencyProperty::Register (this, Type::BEZIERSEGMENT
, "Point1", false, Type::POINT
);
482 DependencyProperty::Register (this, Type::BEGINSTORYBOARD
, "Storyboard", false, Type::STORYBOARD
);
483 DependencyProperty::Register (this, Type::ARCSEGMENT
, "SweepDirection", false, new Value (SweepDirectionCounterclockwise
), Type::INT32
);
484 DependencyProperty::Register (this, Type::ARCSEGMENT
, "Size", false, Type::SIZE
);
485 DependencyProperty::Register (this, Type::ARCSEGMENT
, "RotationAngle", false, new Value (0.0), Type::DOUBLE
);
486 DependencyProperty::Register (this, Type::ARCSEGMENT
, "Point", false, Type::POINT
);
487 DependencyProperty::Register (this, Type::ARCSEGMENT
, "IsLargeArc", false, new Value (false), Type::BOOL
);
490 const int VisualBrush::VisualProperty
= 0;
491 const int VideoBrush::SourceNameProperty
= 1;
492 const int ImageBrush::ImageSourceProperty
= 2;
493 const int ImageBrush::DownloadProgressProperty
= 3;
494 const int RadialGradientBrush::RadiusYProperty
= 4;
495 const int RadialGradientBrush::RadiusXProperty
= 5;
496 const int RadialGradientBrush::GradientOriginProperty
= 6;
497 const int RadialGradientBrush::CenterProperty
= 7;
498 const int LinearGradientBrush::StartPointProperty
= 8;
499 const int LinearGradientBrush::EndPointProperty
= 9;
500 const int SolidColorBrush::ColorProperty
= 10;
501 const int TileBrush::StretchProperty
= 11;
502 const int TileBrush::AlignmentYProperty
= 12;
503 const int TileBrush::AlignmentXProperty
= 13;
504 const int GradientBrush::SpreadMethodProperty
= 14;
505 const int GradientBrush::MappingModeProperty
= 15;
506 const int GradientBrush::GradientStopsProperty
= 16;
507 const int GradientBrush::ColorInterpolationModeProperty
= 17;
508 const int InkPresenter::StrokesProperty
= 18;
509 const int Brush::TransformProperty
= 19;
510 const int Brush::RelativeTransformProperty
= 20;
511 const int Brush::OpacityProperty
= 21;
512 const int Brush::ChangedProperty
= 22;
513 const int Rectangle::RadiusYProperty
= 23;
514 const int Rectangle::RadiusXProperty
= 24;
515 const int Polyline::PointsProperty
= 25;
516 const int Polyline::FillRuleProperty
= 26;
517 const int Polygon::PointsProperty
= 27;
518 const int Polygon::FillRuleProperty
= 28;
519 const int Path::DataProperty
= 29;
520 const int Line::Y2Property
= 30;
521 const int Line::Y1Property
= 31;
522 const int Line::X2Property
= 32;
523 const int Line::X1Property
= 33;
524 const int MultiScaleImage::ViewportWidthProperty
= 34;
525 const int MultiScaleImage::ViewportOriginProperty
= 35;
526 const int MultiScaleImage::UseSpringsProperty
= 36;
527 const int MultiScaleImage::TileFadeProperty
= 37;
528 const int MultiScaleImage::SubImagesProperty
= 38;
529 const int MultiScaleImage::SourceProperty
= 39;
530 const int MultiScaleImage::IsIdleProperty
= 40;
531 const int MultiScaleImage::IsDownloadingProperty
= 41;
532 const int MultiScaleImage::InternalViewportWidthProperty
= 42;
533 const int MultiScaleImage::InternalViewportOriginProperty
= 43;
534 const int MultiScaleImage::BlurFactorProperty
= 44;
535 const int MultiScaleImage::AspectRatioProperty
= 45;
536 const int MultiScaleImage::AllowDownloadingProperty
= 46;
537 const int Image::SourceProperty
= 47;
538 const int UserControl::ContentProperty
= 48;
539 const int ContentControl::ContentTemplateProperty
= 49;
540 const int ContentControl::ContentProperty
= 50;
541 const int Grid::ShowGridLinesProperty
= 51;
542 const int Grid::RowSpanProperty
= 52;
543 const int Grid::RowProperty
= 53;
544 const int Grid::RowDefinitionsProperty
= 54;
545 const int Grid::ColumnSpanProperty
= 55;
546 const int Grid::ColumnProperty
= 56;
547 const int Grid::ColumnDefinitionsProperty
= 57;
548 const int Canvas::ZIndexProperty
= 58;
549 const int Canvas::TopProperty
= 59;
550 const int Canvas::LeftProperty
= 60;
551 const int TextBlock::TextWrappingProperty
= 61;
552 const int TextBlock::TextProperty
= 62;
553 const int TextBlock::TextDecorationsProperty
= 63;
554 const int TextBlock::TextAlignmentProperty
= 64;
555 const int TextBlock::PaddingProperty
= 65;
556 const int TextBlock::LineStackingStrategyProperty
= 66;
557 const int TextBlock::LineHeightProperty
= 67;
558 const int TextBlock::InlinesProperty
= 68;
559 const int TextBlock::ForegroundProperty
= 69;
560 const int TextBlock::FontWeightProperty
= 70;
561 const int TextBlock::FontStyleProperty
= 71;
562 const int TextBlock::FontStretchProperty
= 72;
563 const int TextBlock::FontSourceProperty
= 73;
564 const int TextBlock::FontSizeProperty
= 74;
565 const int TextBlock::FontFamilyProperty
= 75;
566 const int Popup::VerticalOffsetProperty
= 76;
567 const int Popup::IsOpenProperty
= 77;
568 const int Popup::HorizontalOffsetProperty
= 78;
569 const int Popup::ChildProperty
= 79;
570 const int MediaElement::VolumeProperty
= 80;
571 const int MediaElement::StretchProperty
= 81;
572 const int MediaElement::SourceProperty
= 82;
573 const int MediaElement::RenderedFramesPerSecondProperty
= 83;
574 const int MediaElement::PositionProperty
= 84;
575 const int MediaElement::NaturalVideoWidthProperty
= 85;
576 const int MediaElement::NaturalVideoHeightProperty
= 86;
577 const int MediaElement::NaturalDurationProperty
= 87;
578 const int MediaElement::MarkersProperty
= 88;
579 const int MediaElement::IsMutedProperty
= 89;
580 const int MediaElement::DroppedFramesPerSecondProperty
= 90;
581 const int MediaElement::DownloadProgressProperty
= 91;
582 const int MediaElement::DownloadProgressOffsetProperty
= 92;
583 const int MediaElement::CurrentStateProperty
= 93;
584 const int MediaElement::CanSeekProperty
= 94;
585 const int MediaElement::CanPauseProperty
= 95;
586 const int MediaElement::BufferingTimeProperty
= 96;
587 const int MediaElement::BufferingProgressProperty
= 97;
588 const int MediaElement::BalanceProperty
= 98;
589 const int MediaElement::AutoPlayProperty
= 99;
590 const int MediaElement::AudioStreamIndexProperty
= 100;
591 const int MediaElement::AudioStreamCountProperty
= 101;
592 const int MediaElement::AttributesProperty
= 102;
593 const int Shape::StrokeThicknessProperty
= 103;
594 const int Shape::StrokeStartLineCapProperty
= 104;
595 const int Shape::StrokeProperty
= 105;
596 const int Shape::StrokeMiterLimitProperty
= 106;
597 const int Shape::StrokeLineJoinProperty
= 107;
598 const int Shape::StrokeEndLineCapProperty
= 108;
599 const int Shape::StrokeDashOffsetProperty
= 109;
600 const int Shape::StrokeDashCapProperty
= 110;
601 const int Shape::StrokeDashArrayProperty
= 111;
602 const int Shape::StretchProperty
= 112;
603 const int Shape::FillProperty
= 113;
604 const int MediaBase::StretchProperty
= 114;
605 const int MediaBase::SourceProperty
= 115;
606 const int MediaBase::DownloadProgressProperty
= 116;
607 const int Glyphs::UnicodeStringProperty
= 117;
608 const int Glyphs::StyleSimulationsProperty
= 118;
609 const int Glyphs::OriginYProperty
= 119;
610 const int Glyphs::OriginXProperty
= 120;
611 const int Glyphs::IndicesProperty
= 121;
612 const int Glyphs::FontUriProperty
= 122;
613 const int Glyphs::FontRenderingEmSizeProperty
= 123;
614 const int Glyphs::FillProperty
= 124;
615 const int Control::VerticalContentAlignmentProperty
= 125;
616 const int Control::TemplateProperty
= 126;
617 const int Control::TabNavigationProperty
= 127;
618 const int Control::TabIndexProperty
= 128;
619 const int Control::PaddingProperty
= 129;
620 const int Control::IsTemplateItemProperty
= 130;
621 const int Control::IsTabStopProperty
= 131;
622 const int Control::IsEnabledProperty
= 132;
623 const int Control::HorizontalContentAlignmentProperty
= 133;
624 const int Control::ForegroundProperty
= 134;
625 const int Control::FontWeightProperty
= 135;
626 const int Control::FontStyleProperty
= 136;
627 const int Control::FontStretchProperty
= 137;
628 const int Control::FontSizeProperty
= 138;
629 const int Control::FontFamilyProperty
= 139;
630 const int Control::DefaultStyleKeyProperty
= 140;
631 const int Control::BorderThicknessProperty
= 141;
632 const int Control::BorderBrushProperty
= 142;
633 const int Control::BackgroundProperty
= 143;
634 const int Panel::ChildrenProperty
= 144;
635 const int Panel::BackgroundProperty
= 145;
636 const int Border::PaddingProperty
= 146;
637 const int Border::CornerRadiusProperty
= 147;
638 const int Border::ChildProperty
= 148;
639 const int Border::BorderThicknessProperty
= 149;
640 const int Border::BorderBrushProperty
= 150;
641 const int Border::BackgroundProperty
= 151;
642 const int TimelineGroup::ChildrenProperty
= 152;
643 const int Setter::ValueProperty
= 153;
644 const int Setter::PropertyProperty
= 154;
645 const int Setter::ConvertedValueProperty
= 155;
646 const int Run::TextProperty
= 156;
647 const int RectangleGeometry::RectProperty
= 157;
648 const int RectangleGeometry::RadiusYProperty
= 158;
649 const int RectangleGeometry::RadiusXProperty
= 159;
650 const int PathGeometry::FillRuleProperty
= 160;
651 const int PathGeometry::FiguresProperty
= 161;
652 const int LineGeometry::StartPointProperty
= 162;
653 const int LineGeometry::EndPointProperty
= 163;
654 const int GeometryGroup::FillRuleProperty
= 164;
655 const int GeometryGroup::ChildrenProperty
= 165;
656 const int EllipseGeometry::RadiusYProperty
= 166;
657 const int EllipseGeometry::RadiusXProperty
= 167;
658 const int EllipseGeometry::CenterProperty
= 168;
659 const int DeepZoomImageTileSource::UriSourceProperty
= 169;
660 const int ResourceDictionary::MergedDictionariesProperty
= 170;
661 const int FrameworkElement::WidthProperty
= 171;
662 const int FrameworkElement::VerticalAlignmentProperty
= 172;
663 const int FrameworkElement::StyleProperty
= 173;
664 const int FrameworkElement::MinWidthProperty
= 174;
665 const int FrameworkElement::MinHeightProperty
= 175;
666 const int FrameworkElement::MaxWidthProperty
= 176;
667 const int FrameworkElement::MaxHeightProperty
= 177;
668 const int FrameworkElement::MarginProperty
= 178;
669 const int FrameworkElement::LanguageProperty
= 179;
670 const int FrameworkElement::HorizontalAlignmentProperty
= 180;
671 const int FrameworkElement::HeightProperty
= 181;
672 const int FrameworkElement::DataContextProperty
= 182;
673 const int FrameworkElement::ActualWidthProperty
= 183;
674 const int FrameworkElement::ActualHeightProperty
= 184;
675 const int PowerEase::PowerProperty
= 185;
676 const int ExponentialEase::ExponentProperty
= 186;
677 const int ElasticEase::SpringinessProperty
= 187;
678 const int ElasticEase::OscillationsProperty
= 188;
679 const int BounceEase::BouncinessProperty
= 189;
680 const int BounceEase::BouncesProperty
= 190;
681 const int BackEase::AmplitudeProperty
= 191;
682 const int SplinePointKeyFrame::KeySplineProperty
= 192;
683 const int EasingPointKeyFrame::EasingFunctionProperty
= 193;
684 const int PointAnimationUsingKeyFrames::KeyFramesProperty
= 194;
685 const int SplineDoubleKeyFrame::KeySplineProperty
= 195;
686 const int EasingDoubleKeyFrame::EasingFunctionProperty
= 196;
687 const int DoubleAnimationUsingKeyFrames::KeyFramesProperty
= 197;
688 const int WindowSettings::WidthProperty
= 198;
689 const int WindowSettings::TitleProperty
= 199;
690 const int WindowSettings::HeightProperty
= 200;
691 const int TimelineMarker::TypeProperty
= 201;
692 const int TimelineMarker::TimeProperty
= 202;
693 const int TimelineMarker::TextProperty
= 203;
694 const int Timeline::SpeedRatioProperty
= 204;
695 const int Timeline::RepeatBehaviorProperty
= 205;
696 const int Timeline::FillBehaviorProperty
= 206;
697 const int Timeline::DurationProperty
= 207;
698 const int Timeline::BeginTimeProperty
= 208;
699 const int Timeline::AutoReverseProperty
= 209;
700 const int StylusPoint::YProperty
= 210;
701 const int StylusPoint::XProperty
= 211;
702 const int StylusPoint::PressureFactorProperty
= 212;
703 const int StylusInfo::IsInvertedProperty
= 213;
704 const int StylusInfo::DeviceTypeProperty
= 214;
705 const int Style::TargetTypeProperty
= 215;
706 const int Style::SettersProperty
= 216;
707 const int Style::IsSealedProperty
= 217;
708 const int Stroke::StylusPointsProperty
= 218;
709 const int Stroke::DrawingAttributesProperty
= 219;
710 const int SetterBase::IsSealedProperty
= 220;
711 const int RowDefinition::MinHeightProperty
= 221;
712 const int RowDefinition::MaxHeightProperty
= 222;
713 const int RowDefinition::HeightProperty
= 223;
714 const int RowDefinition::ActualHeightProperty
= 224;
715 const int PixelShader::UriSourceProperty
= 225;
716 const int PathFigure::StartPointProperty
= 226;
717 const int PathFigure::SegmentsProperty
= 227;
718 const int PathFigure::IsFilledProperty
= 228;
719 const int PathFigure::IsClosedProperty
= 229;
720 const int OutOfBrowserSettings::WindowSettingsProperty
= 230;
721 const int OutOfBrowserSettings::ShowInstallMenuItemProperty
= 231;
722 const int OutOfBrowserSettings::ShortNameProperty
= 232;
723 const int OutOfBrowserSettings::IconsProperty
= 233;
724 const int OutOfBrowserSettings::EnableGPUAccelerationProperty
= 234;
725 const int OutOfBrowserSettings::BlurbProperty
= 235;
726 const int NameScope::NameScopeProperty
= 236;
727 const int MultiScaleSubImage::ZIndexProperty
= 237;
728 const int MultiScaleSubImage::ViewportWidthProperty
= 238;
729 const int MultiScaleSubImage::ViewportOriginProperty
= 239;
730 const int MultiScaleSubImage::OpacityProperty
= 240;
731 const int MultiScaleSubImage::AspectRatioProperty
= 241;
732 const int MediaAttribute::ValueProperty
= 242;
733 const int Matrix::OffsetYProperty
= 243;
734 const int Matrix::OffsetXProperty
= 244;
735 const int Matrix::M22Property
= 245;
736 const int Matrix::M21Property
= 246;
737 const int Matrix::M12Property
= 247;
738 const int Matrix::M11Property
= 248;
739 const int KeySpline::ControlPoint2Property
= 249;
740 const int KeySpline::ControlPoint1Property
= 250;
741 const int InputMethod::IsInputMethodEnabledProperty
= 251;
742 const int Inline::TextDecorationsProperty
= 252;
743 const int Inline::LanguageProperty
= 253;
744 const int Inline::ForegroundProperty
= 254;
745 const int Inline::FontWeightProperty
= 255;
746 const int Inline::FontStyleProperty
= 256;
747 const int Inline::FontStretchProperty
= 257;
748 const int Inline::FontSourceProperty
= 258;
749 const int Inline::FontSizeProperty
= 259;
750 const int Inline::FontFamilyProperty
= 260;
751 const int Icon::SourceProperty
= 261;
752 const int Icon::SizeProperty
= 262;
753 const int GradientStop::OffsetProperty
= 263;
754 const int GradientStop::ColorProperty
= 264;
755 const int Geometry::TransformProperty
= 265;
756 const int DrawingAttributes::WidthProperty
= 266;
757 const int DrawingAttributes::OutlineColorProperty
= 267;
758 const int DrawingAttributes::HeightProperty
= 268;
759 const int DrawingAttributes::ColorProperty
= 269;
760 const int Downloader::UriProperty
= 270;
761 const int Downloader::StatusTextProperty
= 271;
762 const int Downloader::StatusProperty
= 272;
763 const int Downloader::ResponseTextProperty
= 273;
764 const int Downloader::DownloadProgressProperty
= 274;
765 const int Deployment::SurfaceProperty
= 275;
766 const int Deployment::RuntimeVersionProperty
= 276;
767 const int Deployment::PartsProperty
= 277;
768 const int Deployment::OutOfBrowserSettingsProperty
= 278;
769 const int Deployment::ExternalPartsProperty
= 279;
770 const int Deployment::ExternalCallersFromCrossDomainProperty
= 280;
771 const int Deployment::EntryPointTypeProperty
= 281;
772 const int Deployment::EntryPointAssemblyProperty
= 282;
773 const int MultiScaleTileSource::TileWidthProperty
= 283;
774 const int MultiScaleTileSource::TileOverlapProperty
= 284;
775 const int MultiScaleTileSource::TileHeightProperty
= 285;
776 const int MultiScaleTileSource::TileBlendTimeProperty
= 286;
777 const int MultiScaleTileSource::ImageWidthProperty
= 287;
778 const int MultiScaleTileSource::ImageHeightProperty
= 288;
779 const int ColumnDefinition::WidthProperty
= 289;
780 const int ColumnDefinition::MinWidthProperty
= 290;
781 const int ColumnDefinition::MaxWidthProperty
= 291;
782 const int ColumnDefinition::ActualWidthProperty
= 292;
783 const int Collection::CountProperty
= 293;
784 const int UIElement::VisibilityProperty
= 294;
785 const int UIElement::UseLayoutRoundingProperty
= 295;
786 const int UIElement::TriggersProperty
= 296;
787 const int UIElement::TagProperty
= 297;
788 const int UIElement::ResourcesProperty
= 298;
789 const int UIElement::RenderTransformProperty
= 299;
790 const int UIElement::RenderTransformOriginProperty
= 300;
791 const int UIElement::OpacityProperty
= 301;
792 const int UIElement::OpacityMaskProperty
= 302;
793 const int UIElement::IsHitTestVisibleProperty
= 303;
794 const int UIElement::EffectProperty
= 304;
795 const int UIElement::CursorProperty
= 305;
796 const int UIElement::ClipProperty
= 306;
797 const int UIElement::CacheModeProperty
= 307;
798 const int EasingFunctionBase::EasingModeProperty
= 308;
799 const int AssemblyPart::SourceProperty
= 309;
800 const int Application::ResourcesProperty
= 310;
801 const int Accessibility::TitleProperty
= 311;
802 const int Accessibility::DescriptionProperty
= 312;
803 const int Accessibility::ActionDescriptionProperty
= 313;
804 const int SplineColorKeyFrame::KeySplineProperty
= 314;
805 const int EasingColorKeyFrame::EasingFunctionProperty
= 315;
806 const int ColorAnimationUsingKeyFrames::KeyFramesProperty
= 316;
807 const int BitmapImage::UriSourceProperty
= 317;
808 const int BitmapImage::ProgressProperty
= 318;
809 const int TranslateTransform::YProperty
= 319;
810 const int TranslateTransform::XProperty
= 320;
811 const int TransformGroup::ChildrenProperty
= 321;
812 const int TextOptions::TextHintingModeProperty
= 322;
813 const int TextBox::VerticalScrollBarVisibilityProperty
= 323;
814 const int TextBox::TextWrappingProperty
= 324;
815 const int TextBox::TextProperty
= 325;
816 const int TextBox::TextAlignmentProperty
= 326;
817 const int TextBox::SelectionStartProperty
= 327;
818 const int TextBox::SelectionLengthProperty
= 328;
819 const int TextBox::SelectionForegroundProperty
= 329;
820 const int TextBox::SelectionBackgroundProperty
= 330;
821 const int TextBox::SelectedTextProperty
= 331;
822 const int TextBox::MaxLengthProperty
= 332;
823 const int TextBox::IsReadOnlyProperty
= 333;
824 const int TextBox::HorizontalScrollBarVisibilityProperty
= 334;
825 const int TextBox::FontSourceProperty
= 335;
826 const int TextBox::CaretBrushProperty
= 336;
827 const int TextBox::AcceptsReturnProperty
= 337;
828 const int Storyboard::TargetPropertyProperty
= 338;
829 const int Storyboard::TargetNameProperty
= 339;
830 const int SkewTransform::CenterYProperty
= 340;
831 const int SkewTransform::CenterXProperty
= 341;
832 const int SkewTransform::AngleYProperty
= 342;
833 const int SkewTransform::AngleXProperty
= 343;
834 const int ShaderEffect::PixelShaderProperty
= 344;
835 const int ShaderEffect::PaddingTopProperty
= 345;
836 const int ShaderEffect::PaddingRightProperty
= 346;
837 const int ShaderEffect::PaddingLeftProperty
= 347;
838 const int ShaderEffect::PaddingBottomProperty
= 348;
839 const int ShaderEffect::DdxUvDdyUvRegisterIndexProperty
= 349;
840 const int SetterBaseCollection::IsSealedProperty
= 350;
841 const int ScaleTransform::ScaleYProperty
= 351;
842 const int ScaleTransform::ScaleXProperty
= 352;
843 const int ScaleTransform::CenterYProperty
= 353;
844 const int ScaleTransform::CenterXProperty
= 354;
845 const int RotateTransform::CenterYProperty
= 355;
846 const int RotateTransform::CenterXProperty
= 356;
847 const int RotateTransform::AngleProperty
= 357;
848 const int QuadraticBezierSegment::Point2Property
= 358;
849 const int QuadraticBezierSegment::Point1Property
= 359;
850 const int PolyQuadraticBezierSegment::PointsProperty
= 360;
851 const int PolyLineSegment::PointsProperty
= 361;
852 const int PolyBezierSegment::PointsProperty
= 362;
853 const int PointKeyFrame::ValueProperty
= 363;
854 const int PointKeyFrame::KeyTimeProperty
= 364;
855 const int PointAnimation::ToProperty
= 365;
856 const int PointAnimation::FromProperty
= 366;
857 const int PointAnimation::EasingFunctionProperty
= 367;
858 const int PointAnimation::ByProperty
= 368;
859 const int PasswordBox::SelectionStartProperty
= 369;
860 const int PasswordBox::SelectionLengthProperty
= 370;
861 const int PasswordBox::SelectionForegroundProperty
= 371;
862 const int PasswordBox::SelectionBackgroundProperty
= 372;
863 const int PasswordBox::SelectedTextProperty
= 373;
864 const int PasswordBox::PasswordProperty
= 374;
865 const int PasswordBox::PasswordCharProperty
= 375;
866 const int PasswordBox::MaxLengthProperty
= 376;
867 const int PasswordBox::FontSourceProperty
= 377;
868 const int PasswordBox::CaretBrushProperty
= 378;
869 const int ObjectKeyFrame::ValueProperty
= 379;
870 const int ObjectKeyFrame::KeyTimeProperty
= 380;
871 const int ObjectKeyFrame::ConvertedValueProperty
= 381;
872 const int ObjectAnimationUsingKeyFrames::KeyFramesProperty
= 382;
873 const int MatrixTransform::MatrixProperty
= 383;
874 const int LineSegment::PointProperty
= 384;
875 const int LayoutInformation::VisualOffsetProperty
= 385;
876 const int LayoutInformation::PreviousConstraintProperty
= 386;
877 const int LayoutInformation::LayoutSlotProperty
= 387;
878 const int LayoutInformation::LayoutClipProperty
= 388;
879 const int LayoutInformation::LastRenderSizeProperty
= 389;
880 const int LayoutInformation::FinalRectProperty
= 390;
881 const int ExtensionPart::SourceProperty
= 391;
882 const int EventTrigger::RoutedEventProperty
= 392;
883 const int EventTrigger::ActionsProperty
= 393;
884 const int DropShadowEffect::ShadowDepthProperty
= 394;
885 const int DropShadowEffect::OpacityProperty
= 395;
886 const int DropShadowEffect::DirectionProperty
= 396;
887 const int DropShadowEffect::ColorProperty
= 397;
888 const int DropShadowEffect::BlurRadiusProperty
= 398;
889 const int DoubleKeyFrame::ValueProperty
= 399;
890 const int DoubleKeyFrame::KeyTimeProperty
= 400;
891 const int DoubleAnimation::ToProperty
= 401;
892 const int DoubleAnimation::FromProperty
= 402;
893 const int DoubleAnimation::EasingFunctionProperty
= 403;
894 const int DoubleAnimation::ByProperty
= 404;
895 const int DependencyObject::NameProperty
= 405;
896 const int ControlTemplate::TargetTypeProperty
= 406;
897 const int ColorKeyFrame::ValueProperty
= 407;
898 const int ColorKeyFrame::KeyTimeProperty
= 408;
899 const int ColorAnimation::ToProperty
= 409;
900 const int ColorAnimation::FromProperty
= 410;
901 const int ColorAnimation::EasingFunctionProperty
= 411;
902 const int ColorAnimation::ByProperty
= 412;
903 const int BlurEffect::RadiusProperty
= 413;
904 const int BitmapSource::PixelWidthProperty
= 414;
905 const int BitmapSource::PixelHeightProperty
= 415;
906 const int BitmapSource::PixelFormatProperty
= 416;
907 const int BitmapCache::RenderAtScaleProperty
= 417;
908 const int BezierSegment::Point3Property
= 418;
909 const int BezierSegment::Point2Property
= 419;
910 const int BezierSegment::Point1Property
= 420;
911 const int BeginStoryboard::StoryboardProperty
= 421;
912 const int ArcSegment::SweepDirectionProperty
= 422;
913 const int ArcSegment::SizeProperty
= 423;
914 const int ArcSegment::RotationAngleProperty
= 424;
915 const int ArcSegment::PointProperty
= 425;
916 const int ArcSegment::IsLargeArcProperty
= 426;
919 VisualBrush::GetVisual ()
921 Value
*value
= GetValue (VisualBrush::VisualProperty
);
922 return value
? value
->AsUIElement () : NULL
;
926 VisualBrush::SetVisual (UIElement
*value
)
928 SetValue (VisualBrush::VisualProperty
, Value::CreateUnrefPtr (value
));
932 VideoBrush::GetSourceName ()
934 Value
*value
= GetValue (VideoBrush::SourceNameProperty
);
935 return value
? value
->AsString () : NULL
;
939 VideoBrush::SetSourceName (const char *value
)
941 SetValue (VideoBrush::SourceNameProperty
, Value (value
));
945 ImageBrush::GetImageSource ()
947 Value
*value
= GetValue (ImageBrush::ImageSourceProperty
);
948 return value
? value
->AsImageSource () : NULL
;
952 ImageBrush::SetImageSource (ImageSource
*value
)
954 SetValue (ImageBrush::ImageSourceProperty
, Value::CreateUnrefPtr (value
));
958 ImageBrush::GetDownloadProgress ()
960 Value
*value
= GetValue (ImageBrush::DownloadProgressProperty
);
961 return value
->AsDouble ();
965 ImageBrush::SetDownloadProgress (double value
)
967 SetValue (ImageBrush::DownloadProgressProperty
, Value (value
));
971 RadialGradientBrush::GetRadiusY ()
973 Value
*value
= GetValue (RadialGradientBrush::RadiusYProperty
);
974 return value
->AsDouble ();
978 RadialGradientBrush::SetRadiusY (double value
)
980 SetValue (RadialGradientBrush::RadiusYProperty
, Value (value
));
984 RadialGradientBrush::GetRadiusX ()
986 Value
*value
= GetValue (RadialGradientBrush::RadiusXProperty
);
987 return value
->AsDouble ();
991 RadialGradientBrush::SetRadiusX (double value
)
993 SetValue (RadialGradientBrush::RadiusXProperty
, Value (value
));
997 RadialGradientBrush::GetGradientOrigin ()
999 Value
*value
= GetValue (RadialGradientBrush::GradientOriginProperty
);
1000 return value
? value
->AsPoint () : NULL
;
1004 RadialGradientBrush::SetGradientOrigin (Point
*value
)
1007 SetValue (RadialGradientBrush::GradientOriginProperty
, Value (*value
));
1011 RadialGradientBrush::GetCenter ()
1013 Value
*value
= GetValue (RadialGradientBrush::CenterProperty
);
1014 return value
? value
->AsPoint () : NULL
;
1018 RadialGradientBrush::SetCenter (Point
*value
)
1021 SetValue (RadialGradientBrush::CenterProperty
, Value (*value
));
1025 LinearGradientBrush::GetStartPoint ()
1027 Value
*value
= GetValue (LinearGradientBrush::StartPointProperty
);
1028 return value
? value
->AsPoint () : NULL
;
1032 LinearGradientBrush::SetStartPoint (Point
*value
)
1035 SetValue (LinearGradientBrush::StartPointProperty
, Value (*value
));
1039 LinearGradientBrush::GetEndPoint ()
1041 Value
*value
= GetValue (LinearGradientBrush::EndPointProperty
);
1042 return value
? value
->AsPoint () : NULL
;
1046 LinearGradientBrush::SetEndPoint (Point
*value
)
1049 SetValue (LinearGradientBrush::EndPointProperty
, Value (*value
));
1053 SolidColorBrush::GetColor ()
1055 Value
*value
= GetValue (SolidColorBrush::ColorProperty
);
1056 return value
? value
->AsColor () : NULL
;
1060 SolidColorBrush::SetColor (Color
*value
)
1063 SetValue (SolidColorBrush::ColorProperty
, Value (*value
));
1067 TileBrush::GetStretch ()
1069 Value
*value
= GetValue (TileBrush::StretchProperty
);
1070 return (Stretch
) value
->AsInt32 ();
1074 TileBrush::SetStretch (Stretch value
)
1076 SetValue (TileBrush::StretchProperty
, Value (value
));
1080 TileBrush::GetAlignmentY ()
1082 Value
*value
= GetValue (TileBrush::AlignmentYProperty
);
1083 return (AlignmentY
) value
->AsInt32 ();
1087 TileBrush::SetAlignmentY (AlignmentY value
)
1089 SetValue (TileBrush::AlignmentYProperty
, Value (value
));
1093 TileBrush::GetAlignmentX ()
1095 Value
*value
= GetValue (TileBrush::AlignmentXProperty
);
1096 return (AlignmentX
) value
->AsInt32 ();
1100 TileBrush::SetAlignmentX (AlignmentX value
)
1102 SetValue (TileBrush::AlignmentXProperty
, Value (value
));
1105 GradientSpreadMethod
1106 GradientBrush::GetSpreadMethod ()
1108 Value
*value
= GetValue (GradientBrush::SpreadMethodProperty
);
1109 return (GradientSpreadMethod
) value
->AsInt32 ();
1113 GradientBrush::SetSpreadMethod (GradientSpreadMethod value
)
1115 SetValue (GradientBrush::SpreadMethodProperty
, Value (value
));
1119 GradientBrush::GetMappingMode ()
1121 Value
*value
= GetValue (GradientBrush::MappingModeProperty
);
1122 return (BrushMappingMode
) value
->AsInt32 ();
1126 GradientBrush::SetMappingMode (BrushMappingMode value
)
1128 SetValue (GradientBrush::MappingModeProperty
, Value (value
));
1131 GradientStopCollection
*
1132 GradientBrush::GetGradientStops ()
1134 Value
*value
= GetValue (GradientBrush::GradientStopsProperty
);
1135 return value
? value
->AsGradientStopCollection () : NULL
;
1139 GradientBrush::SetGradientStops (GradientStopCollection
*value
)
1141 SetValue (GradientBrush::GradientStopsProperty
, Value::CreateUnrefPtr (value
));
1144 ColorInterpolationMode
1145 GradientBrush::GetColorInterpolationMode ()
1147 Value
*value
= GetValue (GradientBrush::ColorInterpolationModeProperty
);
1148 return (ColorInterpolationMode
) value
->AsInt32 ();
1152 GradientBrush::SetColorInterpolationMode (ColorInterpolationMode value
)
1154 SetValue (GradientBrush::ColorInterpolationModeProperty
, Value (value
));
1158 InkPresenter::GetStrokes ()
1160 Value
*value
= GetValue (InkPresenter::StrokesProperty
);
1161 return value
? value
->AsStrokeCollection () : NULL
;
1165 InkPresenter::SetStrokes (StrokeCollection
*value
)
1167 SetValue (InkPresenter::StrokesProperty
, Value::CreateUnrefPtr (value
));
1171 Brush::GetTransform ()
1173 Value
*value
= GetValue (Brush::TransformProperty
);
1174 return value
? value
->AsTransform () : NULL
;
1178 Brush::SetTransform (Transform
*value
)
1180 SetValue (Brush::TransformProperty
, Value::CreateUnrefPtr (value
));
1184 Brush::GetRelativeTransform ()
1186 Value
*value
= GetValue (Brush::RelativeTransformProperty
);
1187 return value
? value
->AsTransform () : NULL
;
1191 Brush::SetRelativeTransform (Transform
*value
)
1193 SetValue (Brush::RelativeTransformProperty
, Value::CreateUnrefPtr (value
));
1197 Brush::GetOpacity ()
1199 Value
*value
= GetValue (Brush::OpacityProperty
);
1200 return value
->AsDouble ();
1204 Brush::SetOpacity (double value
)
1206 SetValue (Brush::OpacityProperty
, Value (value
));
1210 Rectangle::GetRadiusY ()
1212 Value
*value
= GetValue (Rectangle::RadiusYProperty
);
1213 return value
->AsDouble ();
1217 Rectangle::SetRadiusY (double value
)
1219 SetValue (Rectangle::RadiusYProperty
, Value (value
));
1223 Rectangle::GetRadiusX ()
1225 Value
*value
= GetValue (Rectangle::RadiusXProperty
);
1226 return value
->AsDouble ();
1230 Rectangle::SetRadiusX (double value
)
1232 SetValue (Rectangle::RadiusXProperty
, Value (value
));
1236 Polyline::GetPoints ()
1238 Value
*value
= GetValue (Polyline::PointsProperty
);
1239 return value
? value
->AsPointCollection () : NULL
;
1243 Polyline::SetPoints (PointCollection
*value
)
1245 SetValue (Polyline::PointsProperty
, Value::CreateUnrefPtr (value
));
1249 Polyline::GetFillRule ()
1251 Value
*value
= GetValue (Polyline::FillRuleProperty
);
1252 return (FillRule
) value
->AsInt32 ();
1256 Polyline::SetFillRule (FillRule value
)
1258 SetValue (Polyline::FillRuleProperty
, Value (value
));
1262 Polygon::GetPoints ()
1264 Value
*value
= GetValue (Polygon::PointsProperty
);
1265 return value
? value
->AsPointCollection () : NULL
;
1269 Polygon::SetPoints (PointCollection
*value
)
1271 SetValue (Polygon::PointsProperty
, Value::CreateUnrefPtr (value
));
1275 Polygon::GetFillRule ()
1277 Value
*value
= GetValue (Polygon::FillRuleProperty
);
1278 return (FillRule
) value
->AsInt32 ();
1282 Polygon::SetFillRule (FillRule value
)
1284 SetValue (Polygon::FillRuleProperty
, Value (value
));
1290 Value
*value
= GetValue (Path::DataProperty
);
1291 return value
? value
->AsGeometry () : NULL
;
1295 Path::SetData (Geometry
*value
)
1297 SetValue (Path::DataProperty
, Value::CreateUnrefPtr (value
));
1303 Value
*value
= GetValue (Line::Y2Property
);
1304 return value
->AsDouble ();
1308 Line::SetY2 (double value
)
1310 SetValue (Line::Y2Property
, Value (value
));
1316 Value
*value
= GetValue (Line::Y1Property
);
1317 return value
->AsDouble ();
1321 Line::SetY1 (double value
)
1323 SetValue (Line::Y1Property
, Value (value
));
1329 Value
*value
= GetValue (Line::X2Property
);
1330 return value
->AsDouble ();
1334 Line::SetX2 (double value
)
1336 SetValue (Line::X2Property
, Value (value
));
1342 Value
*value
= GetValue (Line::X1Property
);
1343 return value
->AsDouble ();
1347 Line::SetX1 (double value
)
1349 SetValue (Line::X1Property
, Value (value
));
1353 MultiScaleImage::GetViewportWidth ()
1355 Value
*value
= GetValue (MultiScaleImage::ViewportWidthProperty
);
1356 return value
->AsDouble ();
1360 MultiScaleImage::SetViewportWidth (double value
)
1362 SetValue (MultiScaleImage::ViewportWidthProperty
, Value (value
));
1366 MultiScaleImage::GetViewportOrigin ()
1368 Value
*value
= GetValue (MultiScaleImage::ViewportOriginProperty
);
1369 return value
? value
->AsPoint () : NULL
;
1373 MultiScaleImage::SetViewportOrigin (Point
*value
)
1376 SetValue (MultiScaleImage::ViewportOriginProperty
, Value (*value
));
1380 MultiScaleImage::GetUseSprings ()
1382 Value
*value
= GetValue (MultiScaleImage::UseSpringsProperty
);
1383 return value
->AsBool ();
1387 MultiScaleImage::SetUseSprings (bool value
)
1389 SetValue (MultiScaleImage::UseSpringsProperty
, Value (value
));
1392 MultiScaleSubImageCollection
*
1393 MultiScaleImage::GetSubImages ()
1395 Value
*value
= GetValue (MultiScaleImage::SubImagesProperty
);
1396 return value
? value
->AsMultiScaleSubImageCollection () : NULL
;
1399 MultiScaleTileSource
*
1400 MultiScaleImage::GetSource ()
1402 Value
*value
= GetValue (MultiScaleImage::SourceProperty
);
1403 return value
? value
->AsMultiScaleTileSource () : NULL
;
1407 MultiScaleImage::SetSource (MultiScaleTileSource
*value
)
1409 SetValue (MultiScaleImage::SourceProperty
, Value::CreateUnrefPtr (value
));
1413 MultiScaleImage::GetIsIdle ()
1415 Value
*value
= GetValue (MultiScaleImage::IsIdleProperty
);
1416 return value
->AsBool ();
1420 MultiScaleImage::GetIsDownloading ()
1422 Value
*value
= GetValue (MultiScaleImage::IsDownloadingProperty
);
1423 return value
->AsBool ();
1427 MultiScaleImage::GetInternalViewportWidth ()
1429 Value
*value
= GetValue (MultiScaleImage::InternalViewportWidthProperty
);
1430 return value
->AsDouble ();
1434 MultiScaleImage::GetInternalViewportOrigin ()
1436 Value
*value
= GetValue (MultiScaleImage::InternalViewportOriginProperty
);
1437 return value
? value
->AsPoint () : NULL
;
1441 MultiScaleImage::GetBlurFactor ()
1443 Value
*value
= GetValue (MultiScaleImage::BlurFactorProperty
);
1444 return value
->AsDouble ();
1448 MultiScaleImage::SetBlurFactor (double value
)
1450 SetValue (MultiScaleImage::BlurFactorProperty
, Value (value
));
1454 MultiScaleImage::GetAspectRatio ()
1456 Value
*value
= GetValue (MultiScaleImage::AspectRatioProperty
);
1457 return value
->AsDouble ();
1461 MultiScaleImage::GetAllowDownloading ()
1463 Value
*value
= GetValue (MultiScaleImage::AllowDownloadingProperty
);
1464 return value
->AsBool ();
1468 MultiScaleImage::SetAllowDownloading (bool value
)
1470 SetValue (MultiScaleImage::AllowDownloadingProperty
, Value (value
));
1476 Value
*value
= GetValue (Image::SourceProperty
);
1477 return value
? value
->AsImageSource () : NULL
;
1481 Image::SetSource (ImageSource
*value
)
1483 SetValue (Image::SourceProperty
, Value::CreateUnrefPtr (value
));
1487 ContentControl::GetContentTemplate ()
1489 Value
*value
= GetValue (ContentControl::ContentTemplateProperty
);
1490 return value
? value
->AsDataTemplate () : NULL
;
1494 ContentControl::SetContentTemplate (DataTemplate
*value
)
1496 SetValue (ContentControl::ContentTemplateProperty
, Value::CreateUnrefPtr (value
));
1500 Grid::GetShowGridLines ()
1502 Value
*value
= GetValue (Grid::ShowGridLinesProperty
);
1503 return value
->AsBool ();
1507 Grid::SetShowGridLines (bool value
)
1509 SetValue (Grid::ShowGridLinesProperty
, Value (value
));
1513 Grid::GetRowSpan (DependencyObject
*obj
)
1515 Value
*value
= (!obj
) ? NULL
: obj
->GetValue (Grid::RowSpanProperty
);
1516 if (!value
) value
= Deployment::GetCurrent ()->GetTypes ()->GetProperty (Grid::RowSpanProperty
)->GetDefaultValue();
1517 return value
->AsInt32 ();
1521 Grid::SetRowSpan (DependencyObject
*obj
, gint32 value
)
1524 obj
->SetValue (Grid::RowSpanProperty
, Value (value
));
1528 Grid::GetRow (DependencyObject
*obj
)
1530 Value
*value
= (!obj
) ? NULL
: obj
->GetValue (Grid::RowProperty
);
1531 if (!value
) value
= Deployment::GetCurrent ()->GetTypes ()->GetProperty (Grid::RowProperty
)->GetDefaultValue();
1532 return value
->AsInt32 ();
1536 Grid::SetRow (DependencyObject
*obj
, gint32 value
)
1539 obj
->SetValue (Grid::RowProperty
, Value (value
));
1542 RowDefinitionCollection
*
1543 Grid::GetRowDefinitions ()
1545 Value
*value
= GetValue (Grid::RowDefinitionsProperty
);
1546 return value
? value
->AsRowDefinitionCollection () : NULL
;
1550 Grid::SetRowDefinitions (RowDefinitionCollection
*value
)
1552 SetValue (Grid::RowDefinitionsProperty
, Value::CreateUnrefPtr (value
));
1556 Grid::GetColumnSpan (DependencyObject
*obj
)
1558 Value
*value
= (!obj
) ? NULL
: obj
->GetValue (Grid::ColumnSpanProperty
);
1559 if (!value
) value
= Deployment::GetCurrent ()->GetTypes ()->GetProperty (Grid::ColumnSpanProperty
)->GetDefaultValue();
1560 return value
->AsInt32 ();
1564 Grid::SetColumnSpan (DependencyObject
*obj
, gint32 value
)
1567 obj
->SetValue (Grid::ColumnSpanProperty
, Value (value
));
1571 Grid::GetColumn (DependencyObject
*obj
)
1573 Value
*value
= (!obj
) ? NULL
: obj
->GetValue (Grid::ColumnProperty
);
1574 if (!value
) value
= Deployment::GetCurrent ()->GetTypes ()->GetProperty (Grid::ColumnProperty
)->GetDefaultValue();
1575 return value
->AsInt32 ();
1579 Grid::SetColumn (DependencyObject
*obj
, gint32 value
)
1582 obj
->SetValue (Grid::ColumnProperty
, Value (value
));
1585 ColumnDefinitionCollection
*
1586 Grid::GetColumnDefinitions ()
1588 Value
*value
= GetValue (Grid::ColumnDefinitionsProperty
);
1589 return value
? value
->AsColumnDefinitionCollection () : NULL
;
1593 Grid::SetColumnDefinitions (ColumnDefinitionCollection
*value
)
1595 SetValue (Grid::ColumnDefinitionsProperty
, Value::CreateUnrefPtr (value
));
1599 Canvas::GetZIndex (DependencyObject
*obj
)
1601 Value
*value
= (!obj
) ? NULL
: obj
->GetValue (Canvas::ZIndexProperty
);
1602 if (!value
) value
= Deployment::GetCurrent ()->GetTypes ()->GetProperty (Canvas::ZIndexProperty
)->GetDefaultValue();
1603 return value
->AsInt32 ();
1607 Canvas::SetZIndex (DependencyObject
*obj
, gint32 value
)
1610 obj
->SetValue (Canvas::ZIndexProperty
, Value (value
));
1614 Canvas::GetTop (DependencyObject
*obj
)
1616 Value
*value
= (!obj
) ? NULL
: obj
->GetValue (Canvas::TopProperty
);
1617 if (!value
) value
= Deployment::GetCurrent ()->GetTypes ()->GetProperty (Canvas::TopProperty
)->GetDefaultValue();
1618 return value
->AsDouble ();
1622 Canvas::SetTop (DependencyObject
*obj
, double value
)
1625 obj
->SetValue (Canvas::TopProperty
, Value (value
));
1629 Canvas::GetLeft (DependencyObject
*obj
)
1631 Value
*value
= (!obj
) ? NULL
: obj
->GetValue (Canvas::LeftProperty
);
1632 if (!value
) value
= Deployment::GetCurrent ()->GetTypes ()->GetProperty (Canvas::LeftProperty
)->GetDefaultValue();
1633 return value
->AsDouble ();
1637 Canvas::SetLeft (DependencyObject
*obj
, double value
)
1640 obj
->SetValue (Canvas::LeftProperty
, Value (value
));
1644 TextBlock::GetTextWrapping ()
1646 Value
*value
= GetValue (TextBlock::TextWrappingProperty
);
1647 return (TextWrapping
) value
->AsInt32 ();
1651 TextBlock::SetTextWrapping (TextWrapping value
)
1653 SetValue (TextBlock::TextWrappingProperty
, Value (value
));
1657 TextBlock::GetText ()
1659 Value
*value
= GetValue (TextBlock::TextProperty
);
1660 return value
? value
->AsString () : NULL
;
1664 TextBlock::SetText (const char *value
)
1666 SetValue (TextBlock::TextProperty
, Value (value
));
1670 TextBlock::GetTextDecorations ()
1672 Value
*value
= GetValue (TextBlock::TextDecorationsProperty
);
1673 return (TextDecorations
) value
->AsInt32 ();
1677 TextBlock::SetTextDecorations (TextDecorations value
)
1679 SetValue (TextBlock::TextDecorationsProperty
, Value (value
));
1683 TextBlock::GetTextAlignment ()
1685 Value
*value
= GetValue (TextBlock::TextAlignmentProperty
);
1686 return (TextAlignment
) value
->AsInt32 ();
1690 TextBlock::SetTextAlignment (TextAlignment value
)
1692 SetValue (TextBlock::TextAlignmentProperty
, Value (value
));
1696 TextBlock::GetPadding ()
1698 Value
*value
= GetValue (TextBlock::PaddingProperty
);
1699 return value
? value
->AsThickness () : NULL
;
1703 TextBlock::SetPadding (Thickness
*value
)
1706 SetValue (TextBlock::PaddingProperty
, Value (*value
));
1709 LineStackingStrategy
1710 TextBlock::GetLineStackingStrategy ()
1712 Value
*value
= GetValue (TextBlock::LineStackingStrategyProperty
);
1713 return (LineStackingStrategy
) value
->AsInt32 ();
1717 TextBlock::SetLineStackingStrategy (LineStackingStrategy value
)
1719 SetValue (TextBlock::LineStackingStrategyProperty
, Value (value
));
1723 TextBlock::GetLineHeight ()
1725 Value
*value
= GetValue (TextBlock::LineHeightProperty
);
1726 return value
->AsDouble ();
1730 TextBlock::SetLineHeight (double value
)
1732 SetValue (TextBlock::LineHeightProperty
, Value (value
));
1736 TextBlock::GetInlines ()
1738 Value
*value
= GetValue (TextBlock::InlinesProperty
);
1739 return value
? value
->AsInlineCollection () : NULL
;
1743 TextBlock::SetInlines (InlineCollection
*value
)
1745 SetValue (TextBlock::InlinesProperty
, Value::CreateUnrefPtr (value
));
1749 TextBlock::GetForeground ()
1751 Value
*value
= GetValue (TextBlock::ForegroundProperty
);
1752 return value
? value
->AsBrush () : NULL
;
1756 TextBlock::SetForeground (Brush
*value
)
1758 SetValue (TextBlock::ForegroundProperty
, Value::CreateUnrefPtr (value
));
1762 TextBlock::GetFontWeight ()
1764 Value
*value
= GetValue (TextBlock::FontWeightProperty
);
1765 return value
? value
->AsFontWeight () : NULL
;
1769 TextBlock::SetFontWeight (FontWeight
*value
)
1772 SetValue (TextBlock::FontWeightProperty
, Value (*value
));
1776 TextBlock::GetFontStyle ()
1778 Value
*value
= GetValue (TextBlock::FontStyleProperty
);
1779 return value
? value
->AsFontStyle () : NULL
;
1783 TextBlock::SetFontStyle (FontStyle
*value
)
1786 SetValue (TextBlock::FontStyleProperty
, Value (*value
));
1790 TextBlock::GetFontStretch ()
1792 Value
*value
= GetValue (TextBlock::FontStretchProperty
);
1793 return value
? value
->AsFontStretch () : NULL
;
1797 TextBlock::SetFontStretch (FontStretch
*value
)
1800 SetValue (TextBlock::FontStretchProperty
, Value (*value
));
1804 TextBlock::GetFontSource ()
1806 Value
*value
= GetValue (TextBlock::FontSourceProperty
);
1807 return value
? value
->AsFontSource () : NULL
;
1811 TextBlock::SetFontSource (FontSource
*value
)
1814 SetValue (TextBlock::FontSourceProperty
, Value (*value
));
1818 TextBlock::GetFontSize ()
1820 Value
*value
= GetValue (TextBlock::FontSizeProperty
);
1821 return value
->AsDouble ();
1825 TextBlock::SetFontSize (double value
)
1827 SetValue (TextBlock::FontSizeProperty
, Value (value
));
1831 TextBlock::GetFontFamily ()
1833 Value
*value
= GetValue (TextBlock::FontFamilyProperty
);
1834 return value
? value
->AsFontFamily () : NULL
;
1838 TextBlock::SetFontFamily (FontFamily
*value
)
1841 SetValue (TextBlock::FontFamilyProperty
, Value (*value
));
1845 Popup::GetVerticalOffset ()
1847 Value
*value
= GetValue (Popup::VerticalOffsetProperty
);
1848 return value
->AsDouble ();
1852 Popup::SetVerticalOffset (double value
)
1854 SetValue (Popup::VerticalOffsetProperty
, Value (value
));
1860 Value
*value
= GetValue (Popup::IsOpenProperty
);
1861 return value
->AsBool ();
1865 Popup::SetIsOpen (bool value
)
1867 SetValue (Popup::IsOpenProperty
, Value (value
));
1871 Popup::GetHorizontalOffset ()
1873 Value
*value
= GetValue (Popup::HorizontalOffsetProperty
);
1874 return value
->AsDouble ();
1878 Popup::SetHorizontalOffset (double value
)
1880 SetValue (Popup::HorizontalOffsetProperty
, Value (value
));
1886 Value
*value
= GetValue (Popup::ChildProperty
);
1887 return value
? value
->AsUIElement () : NULL
;
1891 Popup::SetChild (UIElement
*value
)
1893 SetValue (Popup::ChildProperty
, Value::CreateUnrefPtr (value
));
1897 MediaElement::GetVolume ()
1899 Value
*value
= GetValue (MediaElement::VolumeProperty
);
1900 return value
->AsDouble ();
1904 MediaElement::SetVolume (double value
)
1906 SetValue (MediaElement::VolumeProperty
, Value (value
));
1910 MediaElement::GetStretch ()
1912 Value
*value
= GetValue (MediaElement::StretchProperty
);
1913 return (Stretch
) value
->AsInt32 ();
1917 MediaElement::SetStretch (Stretch value
)
1919 SetValue (MediaElement::StretchProperty
, Value (value
));
1923 MediaElement::GetSource ()
1925 Value
*value
= GetValue (MediaElement::SourceProperty
);
1926 return value
? value
->AsUri () : NULL
;
1930 MediaElement::SetSource (Uri value
)
1932 SetValue (MediaElement::SourceProperty
, Value (value
));
1936 MediaElement::SetSource (Uri
*value
)
1939 SetValue (MediaElement::SourceProperty
, NULL
);
1941 SetValue (MediaElement::SourceProperty
, Value (*value
));
1945 MediaElement::GetRenderedFramesPerSecond ()
1947 Value
*value
= GetValue (MediaElement::RenderedFramesPerSecondProperty
);
1948 return value
->AsDouble ();
1952 MediaElement::SetRenderedFramesPerSecond (double value
)
1954 SetValue (MediaElement::RenderedFramesPerSecondProperty
, Value (value
));
1958 MediaElement::GetPosition ()
1960 Value
*value
= GetValue (MediaElement::PositionProperty
);
1961 return value
->AsTimeSpan ();
1965 MediaElement::SetPosition (TimeSpan value
)
1967 SetValue (MediaElement::PositionProperty
, Value (value
, Type::TIMESPAN
));
1971 MediaElement::GetNaturalVideoWidth ()
1973 Value
*value
= GetValue (MediaElement::NaturalVideoWidthProperty
);
1974 return value
->AsInt32 ();
1978 MediaElement::SetNaturalVideoWidth (gint32 value
)
1980 SetValue (MediaElement::NaturalVideoWidthProperty
, Value (value
));
1984 MediaElement::GetNaturalVideoHeight ()
1986 Value
*value
= GetValue (MediaElement::NaturalVideoHeightProperty
);
1987 return value
->AsInt32 ();
1991 MediaElement::SetNaturalVideoHeight (gint32 value
)
1993 SetValue (MediaElement::NaturalVideoHeightProperty
, Value (value
));
1997 MediaElement::GetNaturalDuration ()
1999 Value
*value
= GetValue (MediaElement::NaturalDurationProperty
);
2000 return value
? value
->AsDuration () : NULL
;
2004 MediaElement::SetNaturalDuration (Duration
*value
)
2007 SetValue (MediaElement::NaturalDurationProperty
, Value (*value
));
2010 TimelineMarkerCollection
*
2011 MediaElement::GetMarkers ()
2013 Value
*value
= GetValue (MediaElement::MarkersProperty
);
2014 return value
? value
->AsTimelineMarkerCollection () : NULL
;
2018 MediaElement::SetMarkers (TimelineMarkerCollection
*value
)
2020 SetValue (MediaElement::MarkersProperty
, Value::CreateUnrefPtr (value
));
2024 MediaElement::GetIsMuted ()
2026 Value
*value
= GetValue (MediaElement::IsMutedProperty
);
2027 return value
->AsBool ();
2031 MediaElement::SetIsMuted (bool value
)
2033 SetValue (MediaElement::IsMutedProperty
, Value (value
));
2037 MediaElement::GetDroppedFramesPerSecond ()
2039 Value
*value
= GetValue (MediaElement::DroppedFramesPerSecondProperty
);
2040 return value
->AsDouble ();
2044 MediaElement::SetDroppedFramesPerSecond (double value
)
2046 SetValue (MediaElement::DroppedFramesPerSecondProperty
, Value (value
));
2050 MediaElement::GetDownloadProgress ()
2052 Value
*value
= GetValue (MediaElement::DownloadProgressProperty
);
2053 return value
->AsDouble ();
2057 MediaElement::SetDownloadProgress (double value
)
2059 SetValue (MediaElement::DownloadProgressProperty
, Value (value
));
2063 MediaElement::GetDownloadProgressOffset ()
2065 Value
*value
= GetValue (MediaElement::DownloadProgressOffsetProperty
);
2066 return value
->AsDouble ();
2070 MediaElement::SetDownloadProgressOffset (double value
)
2072 SetValue (MediaElement::DownloadProgressOffsetProperty
, Value (value
));
2076 MediaElement::GetCurrentState ()
2078 Value
*value
= GetValue (MediaElement::CurrentStateProperty
);
2079 return (MediaState
) value
->AsInt32 ();
2083 MediaElement::SetCurrentState (MediaState value
)
2085 SetValue (MediaElement::CurrentStateProperty
, Value (value
));
2089 MediaElement::GetCanSeek ()
2091 Value
*value
= GetValue (MediaElement::CanSeekProperty
);
2092 return value
->AsBool ();
2096 MediaElement::SetCanSeek (bool value
)
2098 SetValue (MediaElement::CanSeekProperty
, Value (value
));
2102 MediaElement::GetCanPause ()
2104 Value
*value
= GetValue (MediaElement::CanPauseProperty
);
2105 return value
->AsBool ();
2109 MediaElement::SetCanPause (bool value
)
2111 SetValue (MediaElement::CanPauseProperty
, Value (value
));
2115 MediaElement::GetBufferingTime ()
2117 Value
*value
= GetValue (MediaElement::BufferingTimeProperty
);
2118 return value
->AsTimeSpan ();
2122 MediaElement::SetBufferingTime (TimeSpan value
)
2124 SetValue (MediaElement::BufferingTimeProperty
, Value (value
, Type::TIMESPAN
));
2128 MediaElement::GetBufferingProgress ()
2130 Value
*value
= GetValue (MediaElement::BufferingProgressProperty
);
2131 return value
->AsDouble ();
2135 MediaElement::SetBufferingProgress (double value
)
2137 SetValue (MediaElement::BufferingProgressProperty
, Value (value
));
2141 MediaElement::GetBalance ()
2143 Value
*value
= GetValue (MediaElement::BalanceProperty
);
2144 return value
->AsDouble ();
2148 MediaElement::SetBalance (double value
)
2150 SetValue (MediaElement::BalanceProperty
, Value (value
));
2154 MediaElement::GetAutoPlay ()
2156 Value
*value
= GetValue (MediaElement::AutoPlayProperty
);
2157 return value
->AsBool ();
2161 MediaElement::SetAutoPlay (bool value
)
2163 SetValue (MediaElement::AutoPlayProperty
, Value (value
));
2167 MediaElement::GetAudioStreamIndex ()
2169 Value
*value
= GetValue (MediaElement::AudioStreamIndexProperty
);
2170 return value
? value
->AsNullableInt32 () : NULL
;
2174 MediaElement::SetAudioStreamIndex (gint32 value
)
2176 SetValue (MediaElement::AudioStreamIndexProperty
, Value (value
));
2180 MediaElement::SetAudioStreamIndex (gint32
* value
)
2183 SetValue (MediaElement::AudioStreamIndexProperty
, NULL
);
2185 SetValue (MediaElement::AudioStreamIndexProperty
, Value (*value
));
2189 MediaElement::GetAudioStreamCount ()
2191 Value
*value
= GetValue (MediaElement::AudioStreamCountProperty
);
2192 return value
->AsInt32 ();
2196 MediaElement::SetAudioStreamCount (gint32 value
)
2198 SetValue (MediaElement::AudioStreamCountProperty
, Value (value
));
2201 MediaAttributeCollection
*
2202 MediaElement::GetAttributes ()
2204 Value
*value
= GetValue (MediaElement::AttributesProperty
);
2205 return value
? value
->AsMediaAttributeCollection () : NULL
;
2209 MediaElement::SetAttributes (MediaAttributeCollection
*value
)
2211 SetValue (MediaElement::AttributesProperty
, Value::CreateUnrefPtr (value
));
2215 Shape::GetStrokeThickness ()
2217 Value
*value
= GetValue (Shape::StrokeThicknessProperty
);
2218 return value
->AsDouble ();
2222 Shape::SetStrokeThickness (double value
)
2224 SetValue (Shape::StrokeThicknessProperty
, Value (value
));
2228 Shape::GetStrokeStartLineCap ()
2230 Value
*value
= GetValue (Shape::StrokeStartLineCapProperty
);
2231 return (PenLineCap
) value
->AsInt32 ();
2235 Shape::SetStrokeStartLineCap (PenLineCap value
)
2237 SetValue (Shape::StrokeStartLineCapProperty
, Value (value
));
2243 Value
*value
= GetValue (Shape::StrokeProperty
);
2244 return value
? value
->AsBrush () : NULL
;
2248 Shape::SetStroke (Brush
*value
)
2250 SetValue (Shape::StrokeProperty
, Value::CreateUnrefPtr (value
));
2254 Shape::GetStrokeMiterLimit ()
2256 Value
*value
= GetValue (Shape::StrokeMiterLimitProperty
);
2257 return value
->AsDouble ();
2261 Shape::SetStrokeMiterLimit (double value
)
2263 SetValue (Shape::StrokeMiterLimitProperty
, Value (value
));
2267 Shape::GetStrokeLineJoin ()
2269 Value
*value
= GetValue (Shape::StrokeLineJoinProperty
);
2270 return (PenLineJoin
) value
->AsInt32 ();
2274 Shape::SetStrokeLineJoin (PenLineJoin value
)
2276 SetValue (Shape::StrokeLineJoinProperty
, Value (value
));
2280 Shape::GetStrokeEndLineCap ()
2282 Value
*value
= GetValue (Shape::StrokeEndLineCapProperty
);
2283 return (PenLineCap
) value
->AsInt32 ();
2287 Shape::SetStrokeEndLineCap (PenLineCap value
)
2289 SetValue (Shape::StrokeEndLineCapProperty
, Value (value
));
2293 Shape::GetStrokeDashOffset ()
2295 Value
*value
= GetValue (Shape::StrokeDashOffsetProperty
);
2296 return value
->AsDouble ();
2300 Shape::SetStrokeDashOffset (double value
)
2302 SetValue (Shape::StrokeDashOffsetProperty
, Value (value
));
2306 Shape::GetStrokeDashCap ()
2308 Value
*value
= GetValue (Shape::StrokeDashCapProperty
);
2309 return (PenLineCap
) value
->AsInt32 ();
2313 Shape::SetStrokeDashCap (PenLineCap value
)
2315 SetValue (Shape::StrokeDashCapProperty
, Value (value
));
2319 Shape::GetStrokeDashArray ()
2321 Value
*value
= GetValue (Shape::StrokeDashArrayProperty
);
2322 return value
? value
->AsDoubleCollection () : NULL
;
2326 Shape::SetStrokeDashArray (DoubleCollection
*value
)
2328 SetValue (Shape::StrokeDashArrayProperty
, Value::CreateUnrefPtr (value
));
2332 Shape::GetStretch ()
2334 Value
*value
= GetValue (Shape::StretchProperty
);
2335 return (Stretch
) value
->AsInt32 ();
2339 Shape::SetStretch (Stretch value
)
2341 SetValue (Shape::StretchProperty
, Value (value
));
2347 Value
*value
= GetValue (Shape::FillProperty
);
2348 return value
? value
->AsBrush () : NULL
;
2352 Shape::SetFill (Brush
*value
)
2354 SetValue (Shape::FillProperty
, Value::CreateUnrefPtr (value
));
2358 MediaBase::GetStretch ()
2360 Value
*value
= GetValue (MediaBase::StretchProperty
);
2361 return (Stretch
) value
->AsInt32 ();
2365 MediaBase::SetStretch (Stretch value
)
2367 SetValue (MediaBase::StretchProperty
, Value (value
));
2371 MediaBase::GetSource ()
2373 Value
*value
= GetValue (MediaBase::SourceProperty
);
2374 return value
? value
->AsString () : NULL
;
2378 MediaBase::SetSource (const char *value
)
2380 SetValue (MediaBase::SourceProperty
, Value (value
));
2384 MediaBase::GetDownloadProgress ()
2386 Value
*value
= GetValue (MediaBase::DownloadProgressProperty
);
2387 return value
->AsDouble ();
2391 MediaBase::SetDownloadProgress (double value
)
2393 SetValue (MediaBase::DownloadProgressProperty
, Value (value
));
2397 Glyphs::GetUnicodeString ()
2399 Value
*value
= GetValue (Glyphs::UnicodeStringProperty
);
2400 return value
? value
->AsString () : NULL
;
2404 Glyphs::SetUnicodeString (const char *value
)
2406 SetValue (Glyphs::UnicodeStringProperty
, Value (value
));
2410 Glyphs::GetStyleSimulations ()
2412 Value
*value
= GetValue (Glyphs::StyleSimulationsProperty
);
2413 return (StyleSimulations
) value
->AsInt32 ();
2417 Glyphs::SetStyleSimulations (StyleSimulations value
)
2419 SetValue (Glyphs::StyleSimulationsProperty
, Value (value
));
2423 Glyphs::GetOriginY ()
2425 Value
*value
= GetValue (Glyphs::OriginYProperty
);
2426 return value
->AsDouble ();
2430 Glyphs::SetOriginY (double value
)
2432 SetValue (Glyphs::OriginYProperty
, Value (value
));
2436 Glyphs::GetOriginX ()
2438 Value
*value
= GetValue (Glyphs::OriginXProperty
);
2439 return value
->AsDouble ();
2443 Glyphs::SetOriginX (double value
)
2445 SetValue (Glyphs::OriginXProperty
, Value (value
));
2449 Glyphs::GetIndices ()
2451 Value
*value
= GetValue (Glyphs::IndicesProperty
);
2452 return value
? value
->AsString () : NULL
;
2456 Glyphs::SetIndices (const char *value
)
2458 SetValue (Glyphs::IndicesProperty
, Value (value
));
2462 Glyphs::GetFontUri ()
2464 Value
*value
= GetValue (Glyphs::FontUriProperty
);
2465 return value
? value
->AsUri () : NULL
;
2469 Glyphs::SetFontUri (Uri
*value
)
2472 SetValue (Glyphs::FontUriProperty
, Value (*value
));
2476 Glyphs::GetFontRenderingEmSize ()
2478 Value
*value
= GetValue (Glyphs::FontRenderingEmSizeProperty
);
2479 return value
->AsDouble ();
2483 Glyphs::SetFontRenderingEmSize (double value
)
2485 SetValue (Glyphs::FontRenderingEmSizeProperty
, Value (value
));
2491 Value
*value
= GetValue (Glyphs::FillProperty
);
2492 return value
? value
->AsBrush () : NULL
;
2496 Glyphs::SetFill (Brush
*value
)
2498 SetValue (Glyphs::FillProperty
, Value::CreateUnrefPtr (value
));
2502 Control::GetVerticalContentAlignment ()
2504 Value
*value
= GetValue (Control::VerticalContentAlignmentProperty
);
2505 return (VerticalAlignment
) value
->AsInt32 ();
2509 Control::SetVerticalContentAlignment (VerticalAlignment value
)
2511 SetValue (Control::VerticalContentAlignmentProperty
, Value (value
));
2515 Control::GetTemplate ()
2517 Value
*value
= GetValue (Control::TemplateProperty
);
2518 return value
? value
->AsControlTemplate () : NULL
;
2522 Control::SetTemplate (ControlTemplate
*value
)
2524 SetValue (Control::TemplateProperty
, Value::CreateUnrefPtr (value
));
2527 KeyboardNavigationMode
2528 Control::GetTabNavigation ()
2530 Value
*value
= GetValue (Control::TabNavigationProperty
);
2531 return (KeyboardNavigationMode
) value
->AsInt32 ();
2535 Control::SetTabNavigation (KeyboardNavigationMode value
)
2537 SetValue (Control::TabNavigationProperty
, Value (value
));
2541 Control::GetTabIndex ()
2543 Value
*value
= GetValue (Control::TabIndexProperty
);
2544 return value
->AsInt32 ();
2548 Control::SetTabIndex (gint32 value
)
2550 SetValue (Control::TabIndexProperty
, Value (value
));
2554 Control::GetPadding ()
2556 Value
*value
= GetValue (Control::PaddingProperty
);
2557 return value
? value
->AsThickness () : NULL
;
2561 Control::SetPadding (Thickness
*value
)
2564 SetValue (Control::PaddingProperty
, Value (*value
));
2568 Control::GetIsTemplateItem (DependencyObject
*obj
)
2570 Value
*value
= (!obj
) ? NULL
: obj
->GetValue (Control::IsTemplateItemProperty
);
2571 if (!value
) value
= Deployment::GetCurrent ()->GetTypes ()->GetProperty (Control::IsTemplateItemProperty
)->GetDefaultValue();
2572 return value
->AsBool ();
2576 Control::SetIsTemplateItem (DependencyObject
*obj
, bool value
)
2579 obj
->SetValue (Control::IsTemplateItemProperty
, Value (value
));
2583 Control::GetIsTabStop ()
2585 Value
*value
= GetValue (Control::IsTabStopProperty
);
2586 return value
->AsBool ();
2590 Control::SetIsTabStop (bool value
)
2592 SetValue (Control::IsTabStopProperty
, Value (value
));
2596 Control::GetIsEnabled ()
2598 Value
*value
= GetValue (Control::IsEnabledProperty
);
2599 return value
->AsBool ();
2603 Control::SetIsEnabled (bool value
)
2605 SetValue (Control::IsEnabledProperty
, Value (value
));
2609 Control::GetHorizontalContentAlignment ()
2611 Value
*value
= GetValue (Control::HorizontalContentAlignmentProperty
);
2612 return (HorizontalAlignment
) value
->AsInt32 ();
2616 Control::SetHorizontalContentAlignment (HorizontalAlignment value
)
2618 SetValue (Control::HorizontalContentAlignmentProperty
, Value (value
));
2622 Control::GetForeground ()
2624 Value
*value
= GetValue (Control::ForegroundProperty
);
2625 return value
? value
->AsBrush () : NULL
;
2629 Control::SetForeground (Brush
*value
)
2631 SetValue (Control::ForegroundProperty
, Value::CreateUnrefPtr (value
));
2635 Control::GetFontWeight ()
2637 Value
*value
= GetValue (Control::FontWeightProperty
);
2638 return value
? value
->AsFontWeight () : NULL
;
2642 Control::SetFontWeight (FontWeight
*value
)
2645 SetValue (Control::FontWeightProperty
, Value (*value
));
2649 Control::GetFontStyle ()
2651 Value
*value
= GetValue (Control::FontStyleProperty
);
2652 return value
? value
->AsFontStyle () : NULL
;
2656 Control::SetFontStyle (FontStyle
*value
)
2659 SetValue (Control::FontStyleProperty
, Value (*value
));
2663 Control::GetFontStretch ()
2665 Value
*value
= GetValue (Control::FontStretchProperty
);
2666 return value
? value
->AsFontStretch () : NULL
;
2670 Control::SetFontStretch (FontStretch
*value
)
2673 SetValue (Control::FontStretchProperty
, Value (*value
));
2677 Control::GetFontSize ()
2679 Value
*value
= GetValue (Control::FontSizeProperty
);
2680 return value
->AsDouble ();
2684 Control::SetFontSize (double value
)
2686 SetValue (Control::FontSizeProperty
, Value (value
));
2690 Control::GetFontFamily ()
2692 Value
*value
= GetValue (Control::FontFamilyProperty
);
2693 return value
? value
->AsFontFamily () : NULL
;
2697 Control::SetFontFamily (FontFamily
*value
)
2700 SetValue (Control::FontFamilyProperty
, Value (*value
));
2704 Control::GetDefaultStyleKey ()
2706 Value
*value
= GetValue (Control::DefaultStyleKeyProperty
);
2707 return value
? value
->AsManagedTypeInfo () : NULL
;
2711 Control::SetDefaultStyleKey (ManagedTypeInfo
*value
)
2714 SetValue (Control::DefaultStyleKeyProperty
, Value (*value
));
2718 Control::GetBorderThickness ()
2720 Value
*value
= GetValue (Control::BorderThicknessProperty
);
2721 return value
? value
->AsThickness () : NULL
;
2725 Control::SetBorderThickness (Thickness
*value
)
2728 SetValue (Control::BorderThicknessProperty
, Value (*value
));
2732 Control::GetBorderBrush ()
2734 Value
*value
= GetValue (Control::BorderBrushProperty
);
2735 return value
? value
->AsBrush () : NULL
;
2739 Control::SetBorderBrush (Brush
*value
)
2741 SetValue (Control::BorderBrushProperty
, Value::CreateUnrefPtr (value
));
2745 Control::GetBackground ()
2747 Value
*value
= GetValue (Control::BackgroundProperty
);
2748 return value
? value
->AsBrush () : NULL
;
2752 Control::SetBackground (Brush
*value
)
2754 SetValue (Control::BackgroundProperty
, Value::CreateUnrefPtr (value
));
2757 UIElementCollection
*
2758 Panel::GetChildren ()
2760 Value
*value
= GetValue (Panel::ChildrenProperty
);
2761 return value
? value
->AsUIElementCollection () : NULL
;
2765 Panel::SetChildren (UIElementCollection
*value
)
2767 SetValue (Panel::ChildrenProperty
, Value::CreateUnrefPtr (value
));
2771 Panel::GetBackground ()
2773 Value
*value
= GetValue (Panel::BackgroundProperty
);
2774 return value
? value
->AsBrush () : NULL
;
2778 Panel::SetBackground (Brush
*value
)
2780 SetValue (Panel::BackgroundProperty
, Value::CreateUnrefPtr (value
));
2784 Border::GetPadding ()
2786 Value
*value
= GetValue (Border::PaddingProperty
);
2787 return value
? value
->AsThickness () : NULL
;
2791 Border::SetPadding (Thickness
*value
)
2794 SetValue (Border::PaddingProperty
, Value (*value
));
2798 Border::GetCornerRadius ()
2800 Value
*value
= GetValue (Border::CornerRadiusProperty
);
2801 return value
? value
->AsCornerRadius () : NULL
;
2805 Border::SetCornerRadius (CornerRadius
*value
)
2808 SetValue (Border::CornerRadiusProperty
, Value (*value
));
2814 Value
*value
= GetValue (Border::ChildProperty
);
2815 return value
? value
->AsUIElement () : NULL
;
2819 Border::SetChild (UIElement
*value
)
2821 SetValue (Border::ChildProperty
, Value::CreateUnrefPtr (value
));
2825 Border::GetBorderThickness ()
2827 Value
*value
= GetValue (Border::BorderThicknessProperty
);
2828 return value
? value
->AsThickness () : NULL
;
2832 Border::SetBorderThickness (Thickness
*value
)
2835 SetValue (Border::BorderThicknessProperty
, Value (*value
));
2839 Border::GetBorderBrush ()
2841 Value
*value
= GetValue (Border::BorderBrushProperty
);
2842 return value
? value
->AsBrush () : NULL
;
2846 Border::SetBorderBrush (Brush
*value
)
2848 SetValue (Border::BorderBrushProperty
, Value::CreateUnrefPtr (value
));
2852 Border::GetBackground ()
2854 Value
*value
= GetValue (Border::BackgroundProperty
);
2855 return value
? value
->AsBrush () : NULL
;
2859 Border::SetBackground (Brush
*value
)
2861 SetValue (Border::BackgroundProperty
, Value::CreateUnrefPtr (value
));
2864 TimelineCollection
*
2865 TimelineGroup::GetChildren ()
2867 Value
*value
= GetValue (TimelineGroup::ChildrenProperty
);
2868 return value
? value
->AsTimelineCollection () : NULL
;
2872 TimelineGroup::SetChildren (TimelineCollection
*value
)
2874 SetValue (TimelineGroup::ChildrenProperty
, Value::CreateUnrefPtr (value
));
2880 Value
*value
= GetValue (Run::TextProperty
);
2881 return value
? value
->AsString () : NULL
;
2885 Run::SetText (const char *value
)
2887 SetValue (Run::TextProperty
, Value (value
));
2891 RectangleGeometry::GetRect ()
2893 Value
*value
= GetValue (RectangleGeometry::RectProperty
);
2894 return value
? value
->AsRect () : NULL
;
2898 RectangleGeometry::SetRect (Rect
*value
)
2901 SetValue (RectangleGeometry::RectProperty
, Value (*value
));
2905 RectangleGeometry::GetRadiusY ()
2907 Value
*value
= GetValue (RectangleGeometry::RadiusYProperty
);
2908 return value
->AsDouble ();
2912 RectangleGeometry::SetRadiusY (double value
)
2914 SetValue (RectangleGeometry::RadiusYProperty
, Value (value
));
2918 RectangleGeometry::GetRadiusX ()
2920 Value
*value
= GetValue (RectangleGeometry::RadiusXProperty
);
2921 return value
->AsDouble ();
2925 RectangleGeometry::SetRadiusX (double value
)
2927 SetValue (RectangleGeometry::RadiusXProperty
, Value (value
));
2931 PathGeometry::GetFillRule ()
2933 Value
*value
= GetValue (PathGeometry::FillRuleProperty
);
2934 return (FillRule
) value
->AsInt32 ();
2938 PathGeometry::SetFillRule (FillRule value
)
2940 SetValue (PathGeometry::FillRuleProperty
, Value (value
));
2943 PathFigureCollection
*
2944 PathGeometry::GetFigures ()
2946 Value
*value
= GetValue (PathGeometry::FiguresProperty
);
2947 return value
? value
->AsPathFigureCollection () : NULL
;
2951 PathGeometry::SetFigures (PathFigureCollection
*value
)
2953 SetValue (PathGeometry::FiguresProperty
, Value::CreateUnrefPtr (value
));
2957 LineGeometry::GetStartPoint ()
2959 Value
*value
= GetValue (LineGeometry::StartPointProperty
);
2960 return value
? value
->AsPoint () : NULL
;
2964 LineGeometry::SetStartPoint (Point
*value
)
2967 SetValue (LineGeometry::StartPointProperty
, Value (*value
));
2971 LineGeometry::GetEndPoint ()
2973 Value
*value
= GetValue (LineGeometry::EndPointProperty
);
2974 return value
? value
->AsPoint () : NULL
;
2978 LineGeometry::SetEndPoint (Point
*value
)
2981 SetValue (LineGeometry::EndPointProperty
, Value (*value
));
2985 GeometryGroup::GetFillRule ()
2987 Value
*value
= GetValue (GeometryGroup::FillRuleProperty
);
2988 return (FillRule
) value
->AsInt32 ();
2992 GeometryGroup::SetFillRule (FillRule value
)
2994 SetValue (GeometryGroup::FillRuleProperty
, Value (value
));
2997 GeometryCollection
*
2998 GeometryGroup::GetChildren ()
3000 Value
*value
= GetValue (GeometryGroup::ChildrenProperty
);
3001 return value
? value
->AsGeometryCollection () : NULL
;
3005 GeometryGroup::SetChildren (GeometryCollection
*value
)
3007 SetValue (GeometryGroup::ChildrenProperty
, Value::CreateUnrefPtr (value
));
3011 EllipseGeometry::GetRadiusY ()
3013 Value
*value
= GetValue (EllipseGeometry::RadiusYProperty
);
3014 return value
->AsDouble ();
3018 EllipseGeometry::SetRadiusY (double value
)
3020 SetValue (EllipseGeometry::RadiusYProperty
, Value (value
));
3024 EllipseGeometry::GetRadiusX ()
3026 Value
*value
= GetValue (EllipseGeometry::RadiusXProperty
);
3027 return value
->AsDouble ();
3031 EllipseGeometry::SetRadiusX (double value
)
3033 SetValue (EllipseGeometry::RadiusXProperty
, Value (value
));
3037 EllipseGeometry::GetCenter ()
3039 Value
*value
= GetValue (EllipseGeometry::CenterProperty
);
3040 return value
? value
->AsPoint () : NULL
;
3044 EllipseGeometry::SetCenter (Point
*value
)
3047 SetValue (EllipseGeometry::CenterProperty
, Value (*value
));
3051 DeepZoomImageTileSource::GetUriSource ()
3053 Value
*value
= GetValue (DeepZoomImageTileSource::UriSourceProperty
);
3054 return value
? value
->AsUri () : NULL
;
3058 DeepZoomImageTileSource::SetUriSource (Uri
*value
)
3061 SetValue (DeepZoomImageTileSource::UriSourceProperty
, Value (*value
));
3064 ResourceDictionaryCollection
*
3065 ResourceDictionary::GetMergedDictionaries ()
3067 Value
*value
= GetValue (ResourceDictionary::MergedDictionariesProperty
);
3068 return value
? value
->AsResourceDictionaryCollection () : NULL
;
3072 ResourceDictionary::SetMergedDictionaries (ResourceDictionaryCollection
*value
)
3074 SetValue (ResourceDictionary::MergedDictionariesProperty
, Value::CreateUnrefPtr (value
));
3078 FrameworkElement::GetWidth ()
3080 Value
*value
= GetValue (FrameworkElement::WidthProperty
);
3081 return value
->AsDouble ();
3085 FrameworkElement::SetWidth (double value
)
3087 SetValue (FrameworkElement::WidthProperty
, Value (value
));
3091 FrameworkElement::GetVerticalAlignment ()
3093 Value
*value
= GetValue (FrameworkElement::VerticalAlignmentProperty
);
3094 return (VerticalAlignment
) value
->AsInt32 ();
3098 FrameworkElement::SetVerticalAlignment (VerticalAlignment value
)
3100 SetValue (FrameworkElement::VerticalAlignmentProperty
, Value (value
));
3104 FrameworkElement::GetStyle ()
3106 Value
*value
= GetValue (FrameworkElement::StyleProperty
);
3107 return value
? value
->AsStyle () : NULL
;
3111 FrameworkElement::SetStyle (Style
*value
)
3113 SetValue (FrameworkElement::StyleProperty
, Value::CreateUnrefPtr (value
));
3117 FrameworkElement::GetMinWidth ()
3119 Value
*value
= GetValue (FrameworkElement::MinWidthProperty
);
3120 return value
->AsDouble ();
3124 FrameworkElement::SetMinWidth (double value
)
3126 SetValue (FrameworkElement::MinWidthProperty
, Value (value
));
3130 FrameworkElement::GetMinHeight ()
3132 Value
*value
= GetValue (FrameworkElement::MinHeightProperty
);
3133 return value
->AsDouble ();
3137 FrameworkElement::SetMinHeight (double value
)
3139 SetValue (FrameworkElement::MinHeightProperty
, Value (value
));
3143 FrameworkElement::GetMaxWidth ()
3145 Value
*value
= GetValue (FrameworkElement::MaxWidthProperty
);
3146 return value
->AsDouble ();
3150 FrameworkElement::SetMaxWidth (double value
)
3152 SetValue (FrameworkElement::MaxWidthProperty
, Value (value
));
3156 FrameworkElement::GetMaxHeight ()
3158 Value
*value
= GetValue (FrameworkElement::MaxHeightProperty
);
3159 return value
->AsDouble ();
3163 FrameworkElement::SetMaxHeight (double value
)
3165 SetValue (FrameworkElement::MaxHeightProperty
, Value (value
));
3169 FrameworkElement::GetMargin ()
3171 Value
*value
= GetValue (FrameworkElement::MarginProperty
);
3172 return value
? value
->AsThickness () : NULL
;
3176 FrameworkElement::SetMargin (Thickness
*value
)
3179 SetValue (FrameworkElement::MarginProperty
, Value (*value
));
3183 FrameworkElement::GetLanguage ()
3185 Value
*value
= GetValue (FrameworkElement::LanguageProperty
);
3186 return value
? value
->AsString () : NULL
;
3190 FrameworkElement::SetLanguage (const char *value
)
3192 SetValue (FrameworkElement::LanguageProperty
, Value (value
));
3196 FrameworkElement::GetHorizontalAlignment ()
3198 Value
*value
= GetValue (FrameworkElement::HorizontalAlignmentProperty
);
3199 return (HorizontalAlignment
) value
->AsInt32 ();
3203 FrameworkElement::SetHorizontalAlignment (HorizontalAlignment value
)
3205 SetValue (FrameworkElement::HorizontalAlignmentProperty
, Value (value
));
3209 FrameworkElement::GetHeight ()
3211 Value
*value
= GetValue (FrameworkElement::HeightProperty
);
3212 return value
->AsDouble ();
3216 FrameworkElement::SetHeight (double value
)
3218 SetValue (FrameworkElement::HeightProperty
, Value (value
));
3222 FrameworkElement::GetActualWidth ()
3224 Value
*value
= GetValue (FrameworkElement::ActualWidthProperty
);
3225 return value
->AsDouble ();
3229 FrameworkElement::SetActualWidth (double value
)
3231 SetValue (FrameworkElement::ActualWidthProperty
, Value (value
));
3235 FrameworkElement::GetActualHeight ()
3237 Value
*value
= GetValue (FrameworkElement::ActualHeightProperty
);
3238 return value
->AsDouble ();
3242 FrameworkElement::SetActualHeight (double value
)
3244 SetValue (FrameworkElement::ActualHeightProperty
, Value (value
));
3248 PowerEase::GetPower ()
3250 Value
*value
= GetValue (PowerEase::PowerProperty
);
3251 return value
->AsDouble ();
3255 PowerEase::SetPower (double value
)
3257 SetValue (PowerEase::PowerProperty
, Value (value
));
3261 ExponentialEase::GetExponent ()
3263 Value
*value
= GetValue (ExponentialEase::ExponentProperty
);
3264 return value
->AsDouble ();
3268 ExponentialEase::SetExponent (double value
)
3270 SetValue (ExponentialEase::ExponentProperty
, Value (value
));
3274 ElasticEase::GetSpringiness ()
3276 Value
*value
= GetValue (ElasticEase::SpringinessProperty
);
3277 return value
->AsDouble ();
3281 ElasticEase::SetSpringiness (double value
)
3283 SetValue (ElasticEase::SpringinessProperty
, Value (value
));
3287 ElasticEase::GetOscillations ()
3289 Value
*value
= GetValue (ElasticEase::OscillationsProperty
);
3290 return value
->AsInt32 ();
3294 ElasticEase::SetOscillations (gint32 value
)
3296 SetValue (ElasticEase::OscillationsProperty
, Value (value
));
3300 BounceEase::GetBounciness ()
3302 Value
*value
= GetValue (BounceEase::BouncinessProperty
);
3303 return value
->AsDouble ();
3307 BounceEase::SetBounciness (double value
)
3309 SetValue (BounceEase::BouncinessProperty
, Value (value
));
3313 BounceEase::GetBounces ()
3315 Value
*value
= GetValue (BounceEase::BouncesProperty
);
3316 return value
->AsInt32 ();
3320 BounceEase::SetBounces (gint32 value
)
3322 SetValue (BounceEase::BouncesProperty
, Value (value
));
3326 BackEase::GetAmplitude ()
3328 Value
*value
= GetValue (BackEase::AmplitudeProperty
);
3329 return value
->AsDouble ();
3333 BackEase::SetAmplitude (double value
)
3335 SetValue (BackEase::AmplitudeProperty
, Value (value
));
3339 SplinePointKeyFrame::GetKeySpline ()
3341 Value
*value
= DependencyObject::GetValue (SplinePointKeyFrame::KeySplineProperty
);
3342 return value
? value
->AsKeySpline () : NULL
;
3346 SplinePointKeyFrame::SetKeySpline (KeySpline
*value
)
3348 DependencyObject::SetValue (SplinePointKeyFrame::KeySplineProperty
, Value::CreateUnrefPtr (value
));
3351 EasingFunctionBase
*
3352 EasingPointKeyFrame::GetEasingFunction ()
3354 Value
*value
= DependencyObject::GetValue (EasingPointKeyFrame::EasingFunctionProperty
);
3355 return value
? value
->AsEasingFunctionBase () : NULL
;
3359 EasingPointKeyFrame::SetEasingFunction (EasingFunctionBase
*value
)
3361 DependencyObject::SetValue (EasingPointKeyFrame::EasingFunctionProperty
, Value::CreateUnrefPtr (value
));
3364 PointKeyFrameCollection
*
3365 PointAnimationUsingKeyFrames::GetKeyFrames ()
3367 Value
*value
= GetValue (PointAnimationUsingKeyFrames::KeyFramesProperty
);
3368 return value
? value
->AsPointKeyFrameCollection () : NULL
;
3372 PointAnimationUsingKeyFrames::SetKeyFrames (PointKeyFrameCollection
*value
)
3374 SetValue (PointAnimationUsingKeyFrames::KeyFramesProperty
, Value::CreateUnrefPtr (value
));
3378 SplineDoubleKeyFrame::GetKeySpline ()
3380 Value
*value
= DependencyObject::GetValue (SplineDoubleKeyFrame::KeySplineProperty
);
3381 return value
? value
->AsKeySpline () : NULL
;
3385 SplineDoubleKeyFrame::SetKeySpline (KeySpline
*value
)
3387 DependencyObject::SetValue (SplineDoubleKeyFrame::KeySplineProperty
, Value::CreateUnrefPtr (value
));
3390 EasingFunctionBase
*
3391 EasingDoubleKeyFrame::GetEasingFunction ()
3393 Value
*value
= DependencyObject::GetValue (EasingDoubleKeyFrame::EasingFunctionProperty
);
3394 return value
? value
->AsEasingFunctionBase () : NULL
;
3398 EasingDoubleKeyFrame::SetEasingFunction (EasingFunctionBase
*value
)
3400 DependencyObject::SetValue (EasingDoubleKeyFrame::EasingFunctionProperty
, Value::CreateUnrefPtr (value
));
3403 DoubleKeyFrameCollection
*
3404 DoubleAnimationUsingKeyFrames::GetKeyFrames ()
3406 Value
*value
= GetValue (DoubleAnimationUsingKeyFrames::KeyFramesProperty
);
3407 return value
? value
->AsDoubleKeyFrameCollection () : NULL
;
3411 DoubleAnimationUsingKeyFrames::SetKeyFrames (DoubleKeyFrameCollection
*value
)
3413 SetValue (DoubleAnimationUsingKeyFrames::KeyFramesProperty
, Value::CreateUnrefPtr (value
));
3417 WindowSettings::GetWidth ()
3419 Value
*value
= GetValue (WindowSettings::WidthProperty
);
3420 return value
? value
->AsString () : NULL
;
3424 WindowSettings::SetWidth (const char *value
)
3426 SetValue (WindowSettings::WidthProperty
, Value (value
));
3430 WindowSettings::GetTitle ()
3432 Value
*value
= GetValue (WindowSettings::TitleProperty
);
3433 return value
? value
->AsString () : NULL
;
3437 WindowSettings::SetTitle (const char *value
)
3439 SetValue (WindowSettings::TitleProperty
, Value (value
));
3443 WindowSettings::GetHeight ()
3445 Value
*value
= GetValue (WindowSettings::HeightProperty
);
3446 return value
? value
->AsString () : NULL
;
3450 WindowSettings::SetHeight (const char *value
)
3452 SetValue (WindowSettings::HeightProperty
, Value (value
));
3456 TimelineMarker::GetType ()
3458 Value
*value
= GetValue (TimelineMarker::TypeProperty
);
3459 return value
? value
->AsString () : NULL
;
3463 TimelineMarker::SetType (const char *value
)
3465 SetValue (TimelineMarker::TypeProperty
, Value (value
));
3469 TimelineMarker::GetTime ()
3471 Value
*value
= GetValue (TimelineMarker::TimeProperty
);
3472 return value
->AsTimeSpan ();
3476 TimelineMarker::SetTime (TimeSpan value
)
3478 SetValue (TimelineMarker::TimeProperty
, Value (value
, Type::TIMESPAN
));
3482 TimelineMarker::GetText ()
3484 Value
*value
= GetValue (TimelineMarker::TextProperty
);
3485 return value
? value
->AsString () : NULL
;
3489 TimelineMarker::SetText (const char *value
)
3491 SetValue (TimelineMarker::TextProperty
, Value (value
));
3495 Timeline::GetSpeedRatio ()
3497 Value
*value
= GetValue (Timeline::SpeedRatioProperty
);
3498 return value
->AsDouble ();
3502 Timeline::SetSpeedRatio (double value
)
3504 SetValue (Timeline::SpeedRatioProperty
, Value (value
));
3508 Timeline::GetFillBehavior ()
3510 Value
*value
= GetValue (Timeline::FillBehaviorProperty
);
3511 return (FillBehavior
) value
->AsInt32 ();
3515 Timeline::SetFillBehavior (FillBehavior value
)
3517 SetValue (Timeline::FillBehaviorProperty
, Value (value
));
3521 Timeline::GetAutoReverse ()
3523 Value
*value
= GetValue (Timeline::AutoReverseProperty
);
3524 return value
->AsBool ();
3528 Timeline::SetAutoReverse (bool value
)
3530 SetValue (Timeline::AutoReverseProperty
, Value (value
));
3534 StylusPoint::GetY ()
3536 Value
*value
= GetValue (StylusPoint::YProperty
);
3537 return value
->AsDouble ();
3541 StylusPoint::SetY (double value
)
3543 SetValue (StylusPoint::YProperty
, Value (value
));
3547 StylusPoint::GetX ()
3549 Value
*value
= GetValue (StylusPoint::XProperty
);
3550 return value
->AsDouble ();
3554 StylusPoint::SetX (double value
)
3556 SetValue (StylusPoint::XProperty
, Value (value
));
3560 StylusPoint::GetPressureFactor ()
3562 Value
*value
= GetValue (StylusPoint::PressureFactorProperty
);
3563 return value
->AsDouble ();
3567 StylusPoint::SetPressureFactor (double value
)
3569 SetValue (StylusPoint::PressureFactorProperty
, Value (value
));
3573 StylusInfo::GetIsInverted ()
3575 Value
*value
= GetValue (StylusInfo::IsInvertedProperty
);
3576 return value
->AsBool ();
3580 StylusInfo::SetIsInverted (bool value
)
3582 SetValue (StylusInfo::IsInvertedProperty
, Value (value
));
3586 StylusInfo::GetDeviceType ()
3588 Value
*value
= GetValue (StylusInfo::DeviceTypeProperty
);
3589 return (TabletDeviceType
) value
->AsInt32 ();
3593 StylusInfo::SetDeviceType (TabletDeviceType value
)
3595 SetValue (StylusInfo::DeviceTypeProperty
, Value (value
));
3598 SetterBaseCollection
*
3599 Style::GetSetters ()
3601 Value
*value
= GetValue (Style::SettersProperty
);
3602 return value
? value
->AsSetterBaseCollection () : NULL
;
3606 Style::SetSetters (SetterBaseCollection
*value
)
3608 SetValue (Style::SettersProperty
, Value::CreateUnrefPtr (value
));
3612 Style::GetIsSealed ()
3614 Value
*value
= GetValue (Style::IsSealedProperty
);
3615 return value
->AsBool ();
3619 Style::SetIsSealed (bool value
)
3621 SetValue (Style::IsSealedProperty
, Value (value
));
3624 StylusPointCollection
*
3625 Stroke::GetStylusPoints ()
3627 Value
*value
= GetValue (Stroke::StylusPointsProperty
);
3628 return value
? value
->AsStylusPointCollection () : NULL
;
3632 Stroke::SetStylusPoints (StylusPointCollection
*value
)
3634 SetValue (Stroke::StylusPointsProperty
, Value::CreateUnrefPtr (value
));
3638 Stroke::GetDrawingAttributes ()
3640 Value
*value
= GetValue (Stroke::DrawingAttributesProperty
);
3641 return value
? value
->AsDrawingAttributes () : NULL
;
3645 Stroke::SetDrawingAttributes (DrawingAttributes
*value
)
3647 SetValue (Stroke::DrawingAttributesProperty
, Value::CreateUnrefPtr (value
));
3651 SetterBase::GetIsSealed ()
3653 Value
*value
= GetValue (SetterBase::IsSealedProperty
);
3654 return value
->AsBool ();
3658 SetterBase::SetIsSealed (bool value
)
3660 SetValue (SetterBase::IsSealedProperty
, Value (value
));
3664 RowDefinition::GetMinHeight ()
3666 Value
*value
= GetValue (RowDefinition::MinHeightProperty
);
3667 return value
->AsDouble ();
3671 RowDefinition::SetMinHeight (double value
)
3673 SetValue (RowDefinition::MinHeightProperty
, Value (value
));
3677 RowDefinition::GetMaxHeight ()
3679 Value
*value
= GetValue (RowDefinition::MaxHeightProperty
);
3680 return value
->AsDouble ();
3684 RowDefinition::SetMaxHeight (double value
)
3686 SetValue (RowDefinition::MaxHeightProperty
, Value (value
));
3690 RowDefinition::GetHeight ()
3692 Value
*value
= GetValue (RowDefinition::HeightProperty
);
3693 return value
? value
->AsGridLength () : NULL
;
3697 RowDefinition::SetHeight (GridLength
*value
)
3700 SetValue (RowDefinition::HeightProperty
, Value (*value
));
3704 RowDefinition::GetActualHeight ()
3706 Value
*value
= GetValue (RowDefinition::ActualHeightProperty
);
3707 return value
->AsDouble ();
3711 RowDefinition::SetActualHeight (double value
)
3713 SetValue (RowDefinition::ActualHeightProperty
, Value (value
));
3717 PixelShader::GetUriSource ()
3719 Value
*value
= GetValue (PixelShader::UriSourceProperty
);
3720 return value
? value
->AsUri () : NULL
;
3724 PixelShader::SetUriSource (Uri
*value
)
3727 SetValue (PixelShader::UriSourceProperty
, Value (*value
));
3731 PathFigure::GetStartPoint ()
3733 Value
*value
= GetValue (PathFigure::StartPointProperty
);
3734 return value
? value
->AsPoint () : NULL
;
3738 PathFigure::SetStartPoint (Point
*value
)
3741 SetValue (PathFigure::StartPointProperty
, Value (*value
));
3744 PathSegmentCollection
*
3745 PathFigure::GetSegments ()
3747 Value
*value
= GetValue (PathFigure::SegmentsProperty
);
3748 return value
? value
->AsPathSegmentCollection () : NULL
;
3752 PathFigure::SetSegments (PathSegmentCollection
*value
)
3754 SetValue (PathFigure::SegmentsProperty
, Value::CreateUnrefPtr (value
));
3758 PathFigure::GetIsFilled ()
3760 Value
*value
= GetValue (PathFigure::IsFilledProperty
);
3761 return value
->AsBool ();
3765 PathFigure::SetIsFilled (bool value
)
3767 SetValue (PathFigure::IsFilledProperty
, Value (value
));
3771 PathFigure::GetIsClosed ()
3773 Value
*value
= GetValue (PathFigure::IsClosedProperty
);
3774 return value
->AsBool ();
3778 PathFigure::SetIsClosed (bool value
)
3780 SetValue (PathFigure::IsClosedProperty
, Value (value
));
3784 OutOfBrowserSettings::GetWindowSettings ()
3786 Value
*value
= GetValue (OutOfBrowserSettings::WindowSettingsProperty
);
3787 return value
? value
->AsWindowSettings () : NULL
;
3791 OutOfBrowserSettings::SetWindowSettings (WindowSettings
*value
)
3793 SetValue (OutOfBrowserSettings::WindowSettingsProperty
, Value::CreateUnrefPtr (value
));
3797 OutOfBrowserSettings::GetShowInstallMenuItem ()
3799 Value
*value
= GetValue (OutOfBrowserSettings::ShowInstallMenuItemProperty
);
3800 return value
->AsBool ();
3804 OutOfBrowserSettings::SetShowInstallMenuItem (bool value
)
3806 SetValue (OutOfBrowserSettings::ShowInstallMenuItemProperty
, Value (value
));
3810 OutOfBrowserSettings::GetShortName ()
3812 Value
*value
= GetValue (OutOfBrowserSettings::ShortNameProperty
);
3813 return value
? value
->AsString () : NULL
;
3817 OutOfBrowserSettings::SetShortName (const char *value
)
3819 SetValue (OutOfBrowserSettings::ShortNameProperty
, Value (value
));
3823 OutOfBrowserSettings::GetIcons ()
3825 Value
*value
= GetValue (OutOfBrowserSettings::IconsProperty
);
3826 return value
? value
->AsIconCollection () : NULL
;
3830 OutOfBrowserSettings::SetIcons (IconCollection
*value
)
3832 SetValue (OutOfBrowserSettings::IconsProperty
, Value::CreateUnrefPtr (value
));
3836 OutOfBrowserSettings::GetEnableGPUAcceleration ()
3838 Value
*value
= GetValue (OutOfBrowserSettings::EnableGPUAccelerationProperty
);
3839 return value
->AsBool ();
3843 OutOfBrowserSettings::SetEnableGPUAcceleration (bool value
)
3845 SetValue (OutOfBrowserSettings::EnableGPUAccelerationProperty
, Value (value
));
3849 OutOfBrowserSettings::GetBlurb ()
3851 Value
*value
= GetValue (OutOfBrowserSettings::BlurbProperty
);
3852 return value
? value
->AsString () : NULL
;
3856 OutOfBrowserSettings::SetBlurb (const char *value
)
3858 SetValue (OutOfBrowserSettings::BlurbProperty
, Value (value
));
3862 NameScope::GetNameScope (DependencyObject
*obj
)
3864 Value
*value
= (!obj
) ? NULL
: obj
->GetValue (NameScope::NameScopeProperty
);
3865 if (!value
) value
= Deployment::GetCurrent ()->GetTypes ()->GetProperty (NameScope::NameScopeProperty
)->GetDefaultValue();
3866 return value
? value
->AsNameScope () : NULL
;
3870 NameScope::SetNameScope (DependencyObject
*obj
, NameScope
*value
)
3873 obj
->SetValue (NameScope::NameScopeProperty
, Value::CreateUnrefPtr (value
));
3877 MultiScaleSubImage::GetZIndex ()
3879 Value
*value
= GetValue (MultiScaleSubImage::ZIndexProperty
);
3880 return value
->AsInt32 ();
3884 MultiScaleSubImage::SetZIndex (gint32 value
)
3886 SetValue (MultiScaleSubImage::ZIndexProperty
, Value (value
));
3890 MultiScaleSubImage::GetViewportWidth ()
3892 Value
*value
= GetValue (MultiScaleSubImage::ViewportWidthProperty
);
3893 return value
->AsDouble ();
3897 MultiScaleSubImage::SetViewportWidth (double value
)
3899 SetValue (MultiScaleSubImage::ViewportWidthProperty
, Value (value
));
3903 MultiScaleSubImage::GetViewportOrigin ()
3905 Value
*value
= GetValue (MultiScaleSubImage::ViewportOriginProperty
);
3906 return value
? value
->AsPoint () : NULL
;
3910 MultiScaleSubImage::SetViewportOrigin (Point
*value
)
3913 SetValue (MultiScaleSubImage::ViewportOriginProperty
, Value (*value
));
3917 MultiScaleSubImage::GetOpacity ()
3919 Value
*value
= GetValue (MultiScaleSubImage::OpacityProperty
);
3920 return value
->AsDouble ();
3924 MultiScaleSubImage::SetOpacity (double value
)
3926 SetValue (MultiScaleSubImage::OpacityProperty
, Value (value
));
3930 MultiScaleSubImage::GetAspectRatio ()
3932 Value
*value
= GetValue (MultiScaleSubImage::AspectRatioProperty
);
3933 return value
->AsDouble ();
3937 MediaAttribute::GetValue ()
3939 Value
*value
= DependencyObject::GetValue (MediaAttribute::ValueProperty
);
3940 return value
? value
->AsString () : NULL
;
3944 MediaAttribute::SetValue (const char *value
)
3946 DependencyObject::SetValue (MediaAttribute::ValueProperty
, Value (value
));
3950 Matrix::GetOffsetY ()
3952 Value
*value
= GetValue (Matrix::OffsetYProperty
);
3953 return value
->AsDouble ();
3957 Matrix::SetOffsetY (double value
)
3959 SetValue (Matrix::OffsetYProperty
, Value (value
));
3963 Matrix::GetOffsetX ()
3965 Value
*value
= GetValue (Matrix::OffsetXProperty
);
3966 return value
->AsDouble ();
3970 Matrix::SetOffsetX (double value
)
3972 SetValue (Matrix::OffsetXProperty
, Value (value
));
3978 Value
*value
= GetValue (Matrix::M22Property
);
3979 return value
->AsDouble ();
3983 Matrix::SetM22 (double value
)
3985 SetValue (Matrix::M22Property
, Value (value
));
3991 Value
*value
= GetValue (Matrix::M21Property
);
3992 return value
->AsDouble ();
3996 Matrix::SetM21 (double value
)
3998 SetValue (Matrix::M21Property
, Value (value
));
4004 Value
*value
= GetValue (Matrix::M12Property
);
4005 return value
->AsDouble ();
4009 Matrix::SetM12 (double value
)
4011 SetValue (Matrix::M12Property
, Value (value
));
4017 Value
*value
= GetValue (Matrix::M11Property
);
4018 return value
->AsDouble ();
4022 Matrix::SetM11 (double value
)
4024 SetValue (Matrix::M11Property
, Value (value
));
4028 KeySpline::GetControlPoint2 ()
4030 Value
*value
= GetValue (KeySpline::ControlPoint2Property
);
4031 return value
? value
->AsPoint () : NULL
;
4035 KeySpline::SetControlPoint2 (Point
*value
)
4038 SetValue (KeySpline::ControlPoint2Property
, Value (*value
));
4042 KeySpline::GetControlPoint1 ()
4044 Value
*value
= GetValue (KeySpline::ControlPoint1Property
);
4045 return value
? value
->AsPoint () : NULL
;
4049 KeySpline::SetControlPoint1 (Point
*value
)
4052 SetValue (KeySpline::ControlPoint1Property
, Value (*value
));
4056 Inline::GetTextDecorations ()
4058 Value
*value
= GetValue (Inline::TextDecorationsProperty
);
4059 return (TextDecorations
) value
->AsInt32 ();
4063 Inline::SetTextDecorations (TextDecorations value
)
4065 SetValue (Inline::TextDecorationsProperty
, Value (value
));
4069 Inline::GetLanguage ()
4071 Value
*value
= GetValue (Inline::LanguageProperty
);
4072 return value
? value
->AsString () : NULL
;
4076 Inline::SetLanguage (const char *value
)
4078 SetValue (Inline::LanguageProperty
, Value (value
));
4082 Inline::GetForeground ()
4084 Value
*value
= GetValue (Inline::ForegroundProperty
);
4085 return value
? value
->AsBrush () : NULL
;
4089 Inline::SetForeground (Brush
*value
)
4091 SetValue (Inline::ForegroundProperty
, Value::CreateUnrefPtr (value
));
4095 Inline::GetFontWeight ()
4097 Value
*value
= GetValue (Inline::FontWeightProperty
);
4098 return value
? value
->AsFontWeight () : NULL
;
4102 Inline::SetFontWeight (FontWeight
*value
)
4105 SetValue (Inline::FontWeightProperty
, Value (*value
));
4109 Inline::GetFontStyle ()
4111 Value
*value
= GetValue (Inline::FontStyleProperty
);
4112 return value
? value
->AsFontStyle () : NULL
;
4116 Inline::SetFontStyle (FontStyle
*value
)
4119 SetValue (Inline::FontStyleProperty
, Value (*value
));
4123 Inline::GetFontStretch ()
4125 Value
*value
= GetValue (Inline::FontStretchProperty
);
4126 return value
? value
->AsFontStretch () : NULL
;
4130 Inline::SetFontStretch (FontStretch
*value
)
4133 SetValue (Inline::FontStretchProperty
, Value (*value
));
4137 Inline::GetFontSource ()
4139 Value
*value
= GetValue (Inline::FontSourceProperty
);
4140 return value
? value
->AsFontSource () : NULL
;
4144 Inline::SetFontSource (FontSource
*value
)
4147 SetValue (Inline::FontSourceProperty
, Value (*value
));
4151 Inline::GetFontSize ()
4153 Value
*value
= GetValue (Inline::FontSizeProperty
);
4154 return value
->AsDouble ();
4158 Inline::SetFontSize (double value
)
4160 SetValue (Inline::FontSizeProperty
, Value (value
));
4164 Inline::GetFontFamily ()
4166 Value
*value
= GetValue (Inline::FontFamilyProperty
);
4167 return value
? value
->AsFontFamily () : NULL
;
4171 Inline::SetFontFamily (FontFamily
*value
)
4174 SetValue (Inline::FontFamilyProperty
, Value (*value
));
4180 Value
*value
= GetValue (Icon::SourceProperty
);
4181 return value
? value
->AsUri () : NULL
;
4185 Icon::SetSource (Uri
*value
)
4188 SetValue (Icon::SourceProperty
, Value (*value
));
4194 Value
*value
= GetValue (Icon::SizeProperty
);
4195 return value
? value
->AsSize () : NULL
;
4199 Icon::SetSize (Size
*value
)
4202 SetValue (Icon::SizeProperty
, Value (*value
));
4206 GradientStop::GetOffset ()
4208 Value
*value
= GetValue (GradientStop::OffsetProperty
);
4209 return value
->AsDouble ();
4213 GradientStop::SetOffset (double value
)
4215 SetValue (GradientStop::OffsetProperty
, Value (value
));
4219 GradientStop::GetColor ()
4221 Value
*value
= GetValue (GradientStop::ColorProperty
);
4222 return value
? value
->AsColor () : NULL
;
4226 GradientStop::SetColor (Color
*value
)
4229 SetValue (GradientStop::ColorProperty
, Value (*value
));
4233 Geometry::GetTransform ()
4235 Value
*value
= GetValue (Geometry::TransformProperty
);
4236 return value
? value
->AsTransform () : NULL
;
4240 Geometry::SetTransform (Transform
*value
)
4242 SetValue (Geometry::TransformProperty
, Value::CreateUnrefPtr (value
));
4246 DrawingAttributes::GetWidth ()
4248 Value
*value
= GetValue (DrawingAttributes::WidthProperty
);
4249 return value
->AsDouble ();
4253 DrawingAttributes::SetWidth (double value
)
4255 SetValue (DrawingAttributes::WidthProperty
, Value (value
));
4259 DrawingAttributes::GetOutlineColor ()
4261 Value
*value
= GetValue (DrawingAttributes::OutlineColorProperty
);
4262 return value
? value
->AsColor () : NULL
;
4266 DrawingAttributes::SetOutlineColor (Color
*value
)
4269 SetValue (DrawingAttributes::OutlineColorProperty
, Value (*value
));
4273 DrawingAttributes::GetHeight ()
4275 Value
*value
= GetValue (DrawingAttributes::HeightProperty
);
4276 return value
->AsDouble ();
4280 DrawingAttributes::SetHeight (double value
)
4282 SetValue (DrawingAttributes::HeightProperty
, Value (value
));
4286 DrawingAttributes::GetColor ()
4288 Value
*value
= GetValue (DrawingAttributes::ColorProperty
);
4289 return value
? value
->AsColor () : NULL
;
4293 DrawingAttributes::SetColor (Color
*value
)
4296 SetValue (DrawingAttributes::ColorProperty
, Value (*value
));
4300 Downloader::GetUri ()
4302 Value
*value
= GetValue (Downloader::UriProperty
);
4303 return value
? value
->AsUri () : NULL
;
4307 Downloader::SetUri (Uri
*value
)
4310 SetValue (Downloader::UriProperty
, Value (*value
));
4314 Downloader::GetStatusText ()
4316 Value
*value
= GetValue (Downloader::StatusTextProperty
);
4317 return value
? value
->AsString () : NULL
;
4321 Downloader::SetStatusText (const char *value
)
4323 SetValue (Downloader::StatusTextProperty
, Value (value
));
4327 Downloader::GetStatus ()
4329 Value
*value
= GetValue (Downloader::StatusProperty
);
4330 return value
->AsInt32 ();
4334 Downloader::SetStatus (gint32 value
)
4336 SetValue (Downloader::StatusProperty
, Value (value
));
4340 Downloader::GetDownloadProgress ()
4342 Value
*value
= GetValue (Downloader::DownloadProgressProperty
);
4343 return value
->AsDouble ();
4347 Downloader::SetDownloadProgress (double value
)
4349 SetValue (Downloader::DownloadProgressProperty
, Value (value
));
4353 Deployment::GetSurface ()
4355 Value
*value
= GetValue (Deployment::SurfaceProperty
);
4356 return value
? value
->AsSurface () : NULL
;
4360 Deployment::SetSurface (Surface
*value
)
4362 SetValue (Deployment::SurfaceProperty
, Value::CreateUnrefPtr (value
));
4366 Deployment::GetRuntimeVersion ()
4368 Value
*value
= GetValue (Deployment::RuntimeVersionProperty
);
4369 return value
? value
->AsString () : NULL
;
4373 Deployment::SetRuntimeVersion (const char *value
)
4375 SetValue (Deployment::RuntimeVersionProperty
, Value (value
));
4378 AssemblyPartCollection
*
4379 Deployment::GetParts ()
4381 Value
*value
= GetValue (Deployment::PartsProperty
);
4382 return value
? value
->AsAssemblyPartCollection () : NULL
;
4386 Deployment::SetParts (AssemblyPartCollection
*value
)
4388 SetValue (Deployment::PartsProperty
, Value::CreateUnrefPtr (value
));
4391 OutOfBrowserSettings
*
4392 Deployment::GetOutOfBrowserSettings ()
4394 Value
*value
= GetValue (Deployment::OutOfBrowserSettingsProperty
);
4395 return value
? value
->AsOutOfBrowserSettings () : NULL
;
4399 Deployment::SetOutOfBrowserSettings (OutOfBrowserSettings
*value
)
4401 SetValue (Deployment::OutOfBrowserSettingsProperty
, Value::CreateUnrefPtr (value
));
4404 ExternalPartCollection
*
4405 Deployment::GetExternalParts ()
4407 Value
*value
= GetValue (Deployment::ExternalPartsProperty
);
4408 return value
? value
->AsExternalPartCollection () : NULL
;
4412 Deployment::SetExternalParts (ExternalPartCollection
*value
)
4414 SetValue (Deployment::ExternalPartsProperty
, Value::CreateUnrefPtr (value
));
4418 Deployment::GetExternalCallersFromCrossDomain ()
4420 Value
*value
= GetValue (Deployment::ExternalCallersFromCrossDomainProperty
);
4421 return (CrossDomainAccess
) value
->AsInt32 ();
4425 Deployment::SetExternalCallersFromCrossDomain (CrossDomainAccess value
)
4427 SetValue (Deployment::ExternalCallersFromCrossDomainProperty
, Value (value
));
4431 MultiScaleTileSource::GetTileWidth ()
4433 Value
*value
= GetValue (MultiScaleTileSource::TileWidthProperty
);
4434 return value
->AsInt32 ();
4438 MultiScaleTileSource::SetTileWidth (gint32 value
)
4440 SetValue (MultiScaleTileSource::TileWidthProperty
, Value (value
));
4444 MultiScaleTileSource::GetTileOverlap ()
4446 Value
*value
= GetValue (MultiScaleTileSource::TileOverlapProperty
);
4447 return value
->AsInt32 ();
4451 MultiScaleTileSource::SetTileOverlap (gint32 value
)
4453 SetValue (MultiScaleTileSource::TileOverlapProperty
, Value (value
));
4457 MultiScaleTileSource::GetTileHeight ()
4459 Value
*value
= GetValue (MultiScaleTileSource::TileHeightProperty
);
4460 return value
->AsInt32 ();
4464 MultiScaleTileSource::SetTileHeight (gint32 value
)
4466 SetValue (MultiScaleTileSource::TileHeightProperty
, Value (value
));
4470 MultiScaleTileSource::GetTileBlendTime ()
4472 Value
*value
= GetValue (MultiScaleTileSource::TileBlendTimeProperty
);
4473 return value
->AsTimeSpan ();
4477 MultiScaleTileSource::SetTileBlendTime (TimeSpan value
)
4479 SetValue (MultiScaleTileSource::TileBlendTimeProperty
, Value (value
, Type::TIMESPAN
));
4483 MultiScaleTileSource::GetImageWidth ()
4485 Value
*value
= GetValue (MultiScaleTileSource::ImageWidthProperty
);
4486 return value
->AsDouble ();
4490 MultiScaleTileSource::SetImageWidth (double value
)
4492 SetValue (MultiScaleTileSource::ImageWidthProperty
, Value (value
));
4496 MultiScaleTileSource::GetImageHeight ()
4498 Value
*value
= GetValue (MultiScaleTileSource::ImageHeightProperty
);
4499 return value
->AsDouble ();
4503 MultiScaleTileSource::SetImageHeight (double value
)
4505 SetValue (MultiScaleTileSource::ImageHeightProperty
, Value (value
));
4509 ColumnDefinition::GetWidth ()
4511 Value
*value
= GetValue (ColumnDefinition::WidthProperty
);
4512 return value
? value
->AsGridLength () : NULL
;
4516 ColumnDefinition::SetWidth (GridLength
*value
)
4519 SetValue (ColumnDefinition::WidthProperty
, Value (*value
));
4523 ColumnDefinition::GetMinWidth ()
4525 Value
*value
= GetValue (ColumnDefinition::MinWidthProperty
);
4526 return value
->AsDouble ();
4530 ColumnDefinition::SetMinWidth (double value
)
4532 SetValue (ColumnDefinition::MinWidthProperty
, Value (value
));
4536 ColumnDefinition::GetMaxWidth ()
4538 Value
*value
= GetValue (ColumnDefinition::MaxWidthProperty
);
4539 return value
->AsDouble ();
4543 ColumnDefinition::SetMaxWidth (double value
)
4545 SetValue (ColumnDefinition::MaxWidthProperty
, Value (value
));
4549 ColumnDefinition::GetActualWidth ()
4551 Value
*value
= GetValue (ColumnDefinition::ActualWidthProperty
);
4552 return value
->AsDouble ();
4556 ColumnDefinition::SetActualWidth (double value
)
4558 SetValue (ColumnDefinition::ActualWidthProperty
, Value (value
));
4562 Collection::GetCount ()
4564 Value
*value
= GetValue (Collection::CountProperty
);
4565 return value
->AsInt32 ();
4569 Collection::SetCount (gint32 value
)
4571 SetValue (Collection::CountProperty
, Value (value
));
4575 UIElement::GetVisibility ()
4577 Value
*value
= GetValue (UIElement::VisibilityProperty
);
4578 return (Visibility
) value
->AsInt32 ();
4582 UIElement::SetVisibility (Visibility value
)
4584 SetValue (UIElement::VisibilityProperty
, Value (value
));
4588 UIElement::GetUseLayoutRounding ()
4590 Value
*value
= GetValue (UIElement::UseLayoutRoundingProperty
);
4591 return value
->AsBool ();
4595 UIElement::SetUseLayoutRounding (bool value
)
4597 SetValue (UIElement::UseLayoutRoundingProperty
, Value (value
));
4601 UIElement::GetTriggers ()
4603 Value
*value
= GetValue (UIElement::TriggersProperty
);
4604 return value
? value
->AsTriggerCollection () : NULL
;
4608 UIElement::SetTriggers (TriggerCollection
*value
)
4610 SetValue (UIElement::TriggersProperty
, Value::CreateUnrefPtr (value
));
4613 ResourceDictionary
*
4614 UIElement::GetResources ()
4616 Value
*value
= GetValue (UIElement::ResourcesProperty
);
4617 return value
? value
->AsResourceDictionary () : NULL
;
4621 UIElement::SetResources (ResourceDictionary
*value
)
4623 SetValue (UIElement::ResourcesProperty
, Value::CreateUnrefPtr (value
));
4627 UIElement::GetRenderTransform ()
4629 Value
*value
= GetValue (UIElement::RenderTransformProperty
);
4630 return value
? value
->AsTransform () : NULL
;
4634 UIElement::SetRenderTransform (Transform
*value
)
4636 SetValue (UIElement::RenderTransformProperty
, Value::CreateUnrefPtr (value
));
4640 UIElement::GetRenderTransformOrigin ()
4642 Value
*value
= GetValue (UIElement::RenderTransformOriginProperty
);
4643 return value
? value
->AsPoint () : NULL
;
4647 UIElement::SetRenderTransformOrigin (Point
*value
)
4650 SetValue (UIElement::RenderTransformOriginProperty
, Value (*value
));
4654 UIElement::GetOpacity ()
4656 Value
*value
= GetValue (UIElement::OpacityProperty
);
4657 return value
->AsDouble ();
4661 UIElement::SetOpacity (double value
)
4663 SetValue (UIElement::OpacityProperty
, Value (value
));
4667 UIElement::GetOpacityMask ()
4669 Value
*value
= GetValue (UIElement::OpacityMaskProperty
);
4670 return value
? value
->AsBrush () : NULL
;
4674 UIElement::SetOpacityMask (Brush
*value
)
4676 SetValue (UIElement::OpacityMaskProperty
, Value::CreateUnrefPtr (value
));
4680 UIElement::GetIsHitTestVisible ()
4682 Value
*value
= GetValue (UIElement::IsHitTestVisibleProperty
);
4683 return value
->AsBool ();
4687 UIElement::SetIsHitTestVisible (bool value
)
4689 SetValue (UIElement::IsHitTestVisibleProperty
, Value (value
));
4693 UIElement::GetEffect ()
4695 Value
*value
= GetValue (UIElement::EffectProperty
);
4696 return value
? value
->AsEffect () : NULL
;
4700 UIElement::SetEffect (Effect
*value
)
4702 SetValue (UIElement::EffectProperty
, Value::CreateUnrefPtr (value
));
4706 UIElement::GetCursor ()
4708 Value
*value
= GetValue (UIElement::CursorProperty
);
4709 return (MouseCursor
) value
->AsInt32 ();
4713 UIElement::SetCursor (MouseCursor value
)
4715 SetValue (UIElement::CursorProperty
, Value (value
));
4719 UIElement::GetClip ()
4721 Value
*value
= GetValue (UIElement::ClipProperty
);
4722 return value
? value
->AsGeometry () : NULL
;
4726 UIElement::SetClip (Geometry
*value
)
4728 SetValue (UIElement::ClipProperty
, Value::CreateUnrefPtr (value
));
4732 UIElement::GetCacheMode ()
4734 Value
*value
= GetValue (UIElement::CacheModeProperty
);
4735 return value
? value
->AsCacheMode () : NULL
;
4739 UIElement::SetCacheMode (CacheMode
*value
)
4741 SetValue (UIElement::CacheModeProperty
, Value::CreateUnrefPtr (value
));
4745 EasingFunctionBase::GetEasingMode ()
4747 Value
*value
= GetValue (EasingFunctionBase::EasingModeProperty
);
4748 return (EasingMode
) value
->AsInt32 ();
4752 EasingFunctionBase::SetEasingMode (EasingMode value
)
4754 SetValue (EasingFunctionBase::EasingModeProperty
, Value (value
));
4757 ResourceDictionary
*
4758 Application::GetResources ()
4760 Value
*value
= GetValue (Application::ResourcesProperty
);
4761 return value
? value
->AsResourceDictionary () : NULL
;
4765 Application::SetResources (ResourceDictionary
*value
)
4767 SetValue (Application::ResourcesProperty
, Value::CreateUnrefPtr (value
));
4771 SplineColorKeyFrame::GetKeySpline ()
4773 Value
*value
= DependencyObject::GetValue (SplineColorKeyFrame::KeySplineProperty
);
4774 return value
? value
->AsKeySpline () : NULL
;
4778 SplineColorKeyFrame::SetKeySpline (KeySpline
*value
)
4780 DependencyObject::SetValue (SplineColorKeyFrame::KeySplineProperty
, Value::CreateUnrefPtr (value
));
4783 EasingFunctionBase
*
4784 EasingColorKeyFrame::GetEasingFunction ()
4786 Value
*value
= DependencyObject::GetValue (EasingColorKeyFrame::EasingFunctionProperty
);
4787 return value
? value
->AsEasingFunctionBase () : NULL
;
4791 EasingColorKeyFrame::SetEasingFunction (EasingFunctionBase
*value
)
4793 DependencyObject::SetValue (EasingColorKeyFrame::EasingFunctionProperty
, Value::CreateUnrefPtr (value
));
4796 ColorKeyFrameCollection
*
4797 ColorAnimationUsingKeyFrames::GetKeyFrames ()
4799 Value
*value
= GetValue (ColorAnimationUsingKeyFrames::KeyFramesProperty
);
4800 return value
? value
->AsColorKeyFrameCollection () : NULL
;
4804 ColorAnimationUsingKeyFrames::SetKeyFrames (ColorKeyFrameCollection
*value
)
4806 SetValue (ColorAnimationUsingKeyFrames::KeyFramesProperty
, Value::CreateUnrefPtr (value
));
4810 BitmapImage::GetUriSource ()
4812 Value
*value
= GetValue (BitmapImage::UriSourceProperty
);
4813 return value
? value
->AsUri () : NULL
;
4817 BitmapImage::SetUriSource (Uri
*value
)
4820 SetValue (BitmapImage::UriSourceProperty
, Value (*value
));
4824 BitmapImage::GetProgress ()
4826 Value
*value
= GetValue (BitmapImage::ProgressProperty
);
4827 return value
->AsDouble ();
4831 BitmapImage::SetProgress (double value
)
4833 SetValue (BitmapImage::ProgressProperty
, Value (value
));
4837 TranslateTransform::GetY ()
4839 Value
*value
= GetValue (TranslateTransform::YProperty
);
4840 return value
->AsDouble ();
4844 TranslateTransform::SetY (double value
)
4846 SetValue (TranslateTransform::YProperty
, Value (value
));
4850 TranslateTransform::GetX ()
4852 Value
*value
= GetValue (TranslateTransform::XProperty
);
4853 return value
->AsDouble ();
4857 TranslateTransform::SetX (double value
)
4859 SetValue (TranslateTransform::XProperty
, Value (value
));
4862 TransformCollection
*
4863 TransformGroup::GetChildren ()
4865 Value
*value
= GetValue (TransformGroup::ChildrenProperty
);
4866 return value
? value
->AsTransformCollection () : NULL
;
4870 TransformGroup::SetChildren (TransformCollection
*value
)
4872 SetValue (TransformGroup::ChildrenProperty
, Value::CreateUnrefPtr (value
));
4876 TextOptions::GetTextHintingMode (DependencyObject
*obj
)
4878 Value
*value
= (!obj
) ? NULL
: obj
->GetValue (TextOptions::TextHintingModeProperty
);
4879 if (!value
) value
= Deployment::GetCurrent ()->GetTypes ()->GetProperty (TextOptions::TextHintingModeProperty
)->GetDefaultValue();
4880 return (TextHintingMode
) value
->AsInt32 ();
4884 TextOptions::SetTextHintingMode (DependencyObject
*obj
, TextHintingMode value
)
4887 obj
->SetValue (TextOptions::TextHintingModeProperty
, Value (value
));
4891 TextBox::GetVerticalScrollBarVisibility ()
4893 Value
*value
= GetValue (TextBox::VerticalScrollBarVisibilityProperty
);
4894 return (ScrollBarVisibility
) value
->AsInt32 ();
4898 TextBox::SetVerticalScrollBarVisibility (ScrollBarVisibility value
)
4900 SetValue (TextBox::VerticalScrollBarVisibilityProperty
, Value (value
));
4904 TextBox::GetTextWrapping ()
4906 Value
*value
= GetValue (TextBox::TextWrappingProperty
);
4907 return (TextWrapping
) value
->AsInt32 ();
4911 TextBox::SetTextWrapping (TextWrapping value
)
4913 SetValue (TextBox::TextWrappingProperty
, Value (value
));
4919 Value
*value
= GetValue (TextBox::TextProperty
);
4920 return value
? value
->AsString () : NULL
;
4924 TextBox::SetText (const char *value
)
4926 SetValue (TextBox::TextProperty
, Value (value
));
4930 TextBox::GetTextAlignment ()
4932 Value
*value
= GetValue (TextBox::TextAlignmentProperty
);
4933 return (TextAlignment
) value
->AsInt32 ();
4937 TextBox::SetTextAlignment (TextAlignment value
)
4939 SetValue (TextBox::TextAlignmentProperty
, Value (value
));
4943 TextBox::GetSelectionStart ()
4945 Value
*value
= GetValue (TextBox::SelectionStartProperty
);
4946 return value
->AsInt32 ();
4950 TextBox::SetSelectionStart (gint32 value
)
4952 SetValue (TextBox::SelectionStartProperty
, Value (value
));
4956 TextBox::GetSelectionLength ()
4958 Value
*value
= GetValue (TextBox::SelectionLengthProperty
);
4959 return value
->AsInt32 ();
4963 TextBox::SetSelectionLength (gint32 value
)
4965 SetValue (TextBox::SelectionLengthProperty
, Value (value
));
4969 TextBox::GetSelectionForeground ()
4971 Value
*value
= GetValue (TextBox::SelectionForegroundProperty
);
4972 return value
? value
->AsBrush () : NULL
;
4976 TextBox::SetSelectionForeground (Brush
*value
)
4978 SetValue (TextBox::SelectionForegroundProperty
, Value::CreateUnrefPtr (value
));
4982 TextBox::GetSelectionBackground ()
4984 Value
*value
= GetValue (TextBox::SelectionBackgroundProperty
);
4985 return value
? value
->AsBrush () : NULL
;
4989 TextBox::SetSelectionBackground (Brush
*value
)
4991 SetValue (TextBox::SelectionBackgroundProperty
, Value::CreateUnrefPtr (value
));
4995 TextBox::GetSelectedText ()
4997 Value
*value
= GetValue (TextBox::SelectedTextProperty
);
4998 return value
? value
->AsString () : NULL
;
5002 TextBox::SetSelectedText (const char *value
)
5004 SetValue (TextBox::SelectedTextProperty
, Value (value
));
5008 TextBox::GetMaxLength ()
5010 Value
*value
= GetValue (TextBox::MaxLengthProperty
);
5011 return value
->AsInt32 ();
5015 TextBox::SetMaxLength (gint32 value
)
5017 SetValue (TextBox::MaxLengthProperty
, Value (value
));
5021 TextBox::GetIsReadOnly ()
5023 Value
*value
= GetValue (TextBox::IsReadOnlyProperty
);
5024 return value
->AsBool ();
5028 TextBox::SetIsReadOnly (bool value
)
5030 SetValue (TextBox::IsReadOnlyProperty
, Value (value
));
5034 TextBox::GetHorizontalScrollBarVisibility ()
5036 Value
*value
= GetValue (TextBox::HorizontalScrollBarVisibilityProperty
);
5037 return (ScrollBarVisibility
) value
->AsInt32 ();
5041 TextBox::SetHorizontalScrollBarVisibility (ScrollBarVisibility value
)
5043 SetValue (TextBox::HorizontalScrollBarVisibilityProperty
, Value (value
));
5047 TextBox::GetFontSource ()
5049 Value
*value
= GetValue (TextBox::FontSourceProperty
);
5050 return value
? value
->AsFontSource () : NULL
;
5054 TextBox::SetFontSource (FontSource
*value
)
5057 SetValue (TextBox::FontSourceProperty
, Value (*value
));
5061 TextBox::GetCaretBrush ()
5063 Value
*value
= GetValue (TextBox::CaretBrushProperty
);
5064 return value
? value
->AsBrush () : NULL
;
5068 TextBox::SetCaretBrush (Brush
*value
)
5070 SetValue (TextBox::CaretBrushProperty
, Value::CreateUnrefPtr (value
));
5074 TextBox::GetAcceptsReturn ()
5076 Value
*value
= GetValue (TextBox::AcceptsReturnProperty
);
5077 return value
->AsBool ();
5081 TextBox::SetAcceptsReturn (bool value
)
5083 SetValue (TextBox::AcceptsReturnProperty
, Value (value
));
5087 Storyboard::GetTargetProperty (DependencyObject
*obj
)
5089 Value
*value
= (!obj
) ? NULL
: obj
->GetValue (Storyboard::TargetPropertyProperty
);
5090 if (!value
) value
= Deployment::GetCurrent ()->GetTypes ()->GetProperty (Storyboard::TargetPropertyProperty
)->GetDefaultValue();
5091 return value
? value
->AsPropertyPath () : NULL
;
5095 Storyboard::SetTargetProperty (DependencyObject
*obj
, PropertyPath
*value
)
5099 obj
->SetValue (Storyboard::TargetPropertyProperty
, Value (*value
));
5103 Storyboard::GetTargetName (DependencyObject
*obj
)
5105 Value
*value
= (!obj
) ? NULL
: obj
->GetValue (Storyboard::TargetNameProperty
);
5106 if (!value
) value
= Deployment::GetCurrent ()->GetTypes ()->GetProperty (Storyboard::TargetNameProperty
)->GetDefaultValue();
5107 return value
? value
->AsString () : NULL
;
5111 Storyboard::SetTargetName (DependencyObject
*obj
, const char *value
)
5114 obj
->SetValue (Storyboard::TargetNameProperty
, Value (value
));
5118 SkewTransform::GetCenterY ()
5120 Value
*value
= GetValue (SkewTransform::CenterYProperty
);
5121 return value
->AsDouble ();
5125 SkewTransform::SetCenterY (double value
)
5127 SetValue (SkewTransform::CenterYProperty
, Value (value
));
5131 SkewTransform::GetCenterX ()
5133 Value
*value
= GetValue (SkewTransform::CenterXProperty
);
5134 return value
->AsDouble ();
5138 SkewTransform::SetCenterX (double value
)
5140 SetValue (SkewTransform::CenterXProperty
, Value (value
));
5144 SkewTransform::GetAngleY ()
5146 Value
*value
= GetValue (SkewTransform::AngleYProperty
);
5147 return value
->AsDouble ();
5151 SkewTransform::SetAngleY (double value
)
5153 SetValue (SkewTransform::AngleYProperty
, Value (value
));
5157 SkewTransform::GetAngleX ()
5159 Value
*value
= GetValue (SkewTransform::AngleXProperty
);
5160 return value
->AsDouble ();
5164 SkewTransform::SetAngleX (double value
)
5166 SetValue (SkewTransform::AngleXProperty
, Value (value
));
5170 ShaderEffect::GetPixelShader ()
5172 Value
*value
= GetValue (ShaderEffect::PixelShaderProperty
);
5173 return value
? value
->AsPixelShader () : NULL
;
5177 ShaderEffect::SetPixelShader (PixelShader
*value
)
5179 SetValue (ShaderEffect::PixelShaderProperty
, Value::CreateUnrefPtr (value
));
5183 ShaderEffect::GetPaddingTop ()
5185 Value
*value
= GetValue (ShaderEffect::PaddingTopProperty
);
5186 return value
->AsDouble ();
5190 ShaderEffect::SetPaddingTop (double value
)
5192 SetValue (ShaderEffect::PaddingTopProperty
, Value (value
));
5196 ShaderEffect::GetPaddingRight ()
5198 Value
*value
= GetValue (ShaderEffect::PaddingRightProperty
);
5199 return value
->AsDouble ();
5203 ShaderEffect::SetPaddingRight (double value
)
5205 SetValue (ShaderEffect::PaddingRightProperty
, Value (value
));
5209 ShaderEffect::GetPaddingLeft ()
5211 Value
*value
= GetValue (ShaderEffect::PaddingLeftProperty
);
5212 return value
->AsDouble ();
5216 ShaderEffect::SetPaddingLeft (double value
)
5218 SetValue (ShaderEffect::PaddingLeftProperty
, Value (value
));
5222 ShaderEffect::GetPaddingBottom ()
5224 Value
*value
= GetValue (ShaderEffect::PaddingBottomProperty
);
5225 return value
->AsDouble ();
5229 ShaderEffect::SetPaddingBottom (double value
)
5231 SetValue (ShaderEffect::PaddingBottomProperty
, Value (value
));
5235 ShaderEffect::GetDdxUvDdyUvRegisterIndex ()
5237 Value
*value
= GetValue (ShaderEffect::DdxUvDdyUvRegisterIndexProperty
);
5238 return value
->AsInt32 ();
5242 ShaderEffect::SetDdxUvDdyUvRegisterIndex (gint32 value
)
5244 SetValue (ShaderEffect::DdxUvDdyUvRegisterIndexProperty
, Value (value
));
5248 SetterBaseCollection::GetIsSealed ()
5250 Value
*value
= GetValue (SetterBaseCollection::IsSealedProperty
);
5251 return value
->AsBool ();
5255 SetterBaseCollection::SetIsSealed (bool value
)
5257 SetValue (SetterBaseCollection::IsSealedProperty
, Value (value
));
5261 ScaleTransform::GetScaleY ()
5263 Value
*value
= GetValue (ScaleTransform::ScaleYProperty
);
5264 return value
->AsDouble ();
5268 ScaleTransform::SetScaleY (double value
)
5270 SetValue (ScaleTransform::ScaleYProperty
, Value (value
));
5274 ScaleTransform::GetScaleX ()
5276 Value
*value
= GetValue (ScaleTransform::ScaleXProperty
);
5277 return value
->AsDouble ();
5281 ScaleTransform::SetScaleX (double value
)
5283 SetValue (ScaleTransform::ScaleXProperty
, Value (value
));
5287 ScaleTransform::GetCenterY ()
5289 Value
*value
= GetValue (ScaleTransform::CenterYProperty
);
5290 return value
->AsDouble ();
5294 ScaleTransform::SetCenterY (double value
)
5296 SetValue (ScaleTransform::CenterYProperty
, Value (value
));
5300 ScaleTransform::GetCenterX ()
5302 Value
*value
= GetValue (ScaleTransform::CenterXProperty
);
5303 return value
->AsDouble ();
5307 ScaleTransform::SetCenterX (double value
)
5309 SetValue (ScaleTransform::CenterXProperty
, Value (value
));
5313 RotateTransform::GetCenterY ()
5315 Value
*value
= GetValue (RotateTransform::CenterYProperty
);
5316 return value
->AsDouble ();
5320 RotateTransform::SetCenterY (double value
)
5322 SetValue (RotateTransform::CenterYProperty
, Value (value
));
5326 RotateTransform::GetCenterX ()
5328 Value
*value
= GetValue (RotateTransform::CenterXProperty
);
5329 return value
->AsDouble ();
5333 RotateTransform::SetCenterX (double value
)
5335 SetValue (RotateTransform::CenterXProperty
, Value (value
));
5339 RotateTransform::GetAngle ()
5341 Value
*value
= GetValue (RotateTransform::AngleProperty
);
5342 return value
->AsDouble ();
5346 RotateTransform::SetAngle (double value
)
5348 SetValue (RotateTransform::AngleProperty
, Value (value
));
5352 QuadraticBezierSegment::GetPoint2 ()
5354 Value
*value
= GetValue (QuadraticBezierSegment::Point2Property
);
5355 return value
? value
->AsPoint () : NULL
;
5359 QuadraticBezierSegment::SetPoint2 (Point
*value
)
5362 SetValue (QuadraticBezierSegment::Point2Property
, Value (*value
));
5366 QuadraticBezierSegment::GetPoint1 ()
5368 Value
*value
= GetValue (QuadraticBezierSegment::Point1Property
);
5369 return value
? value
->AsPoint () : NULL
;
5373 QuadraticBezierSegment::SetPoint1 (Point
*value
)
5376 SetValue (QuadraticBezierSegment::Point1Property
, Value (*value
));
5380 PolyQuadraticBezierSegment::GetPoints ()
5382 Value
*value
= GetValue (PolyQuadraticBezierSegment::PointsProperty
);
5383 return value
? value
->AsPointCollection () : NULL
;
5387 PolyQuadraticBezierSegment::SetPoints (PointCollection
*value
)
5389 SetValue (PolyQuadraticBezierSegment::PointsProperty
, Value::CreateUnrefPtr (value
));
5393 PolyLineSegment::GetPoints ()
5395 Value
*value
= GetValue (PolyLineSegment::PointsProperty
);
5396 return value
? value
->AsPointCollection () : NULL
;
5400 PolyLineSegment::SetPoints (PointCollection
*value
)
5402 SetValue (PolyLineSegment::PointsProperty
, Value::CreateUnrefPtr (value
));
5406 PolyBezierSegment::GetPoints ()
5408 Value
*value
= GetValue (PolyBezierSegment::PointsProperty
);
5409 return value
? value
->AsPointCollection () : NULL
;
5413 PolyBezierSegment::SetPoints (PointCollection
*value
)
5415 SetValue (PolyBezierSegment::PointsProperty
, Value::CreateUnrefPtr (value
));
5419 PointKeyFrame::GetValue ()
5421 Value
*value
= DependencyObject::GetValue (PointKeyFrame::ValueProperty
);
5422 return value
? value
->AsPoint () : NULL
;
5426 PointKeyFrame::SetValue (Point value
)
5428 DependencyObject::SetValue (PointKeyFrame::ValueProperty
, Value (value
));
5432 PointKeyFrame::SetValue (Point
*value
)
5435 DependencyObject::SetValue (PointKeyFrame::ValueProperty
, NULL
);
5437 DependencyObject::SetValue (PointKeyFrame::ValueProperty
, Value (*value
));
5441 PointKeyFrame::GetKeyTime ()
5443 Value
*value
= DependencyObject::GetValue (PointKeyFrame::KeyTimeProperty
);
5444 return value
? value
->AsKeyTime () : NULL
;
5448 PointKeyFrame::SetKeyTime (KeyTime value
)
5450 DependencyObject::SetValue (PointKeyFrame::KeyTimeProperty
, Value (value
));
5454 PointKeyFrame::SetKeyTime (KeyTime
*value
)
5457 DependencyObject::SetValue (PointKeyFrame::KeyTimeProperty
, NULL
);
5459 DependencyObject::SetValue (PointKeyFrame::KeyTimeProperty
, Value (*value
));
5463 PointAnimation::GetTo ()
5465 Value
*value
= GetValue (PointAnimation::ToProperty
);
5466 return value
? value
->AsPoint () : NULL
;
5470 PointAnimation::SetTo (Point value
)
5472 SetValue (PointAnimation::ToProperty
, Value (value
));
5476 PointAnimation::SetTo (Point
*value
)
5479 SetValue (PointAnimation::ToProperty
, NULL
);
5481 SetValue (PointAnimation::ToProperty
, Value (*value
));
5485 PointAnimation::GetFrom ()
5487 Value
*value
= GetValue (PointAnimation::FromProperty
);
5488 return value
? value
->AsPoint () : NULL
;
5492 PointAnimation::SetFrom (Point value
)
5494 SetValue (PointAnimation::FromProperty
, Value (value
));
5498 PointAnimation::SetFrom (Point
*value
)
5501 SetValue (PointAnimation::FromProperty
, NULL
);
5503 SetValue (PointAnimation::FromProperty
, Value (*value
));
5506 EasingFunctionBase
*
5507 PointAnimation::GetEasingFunction ()
5509 Value
*value
= GetValue (PointAnimation::EasingFunctionProperty
);
5510 return value
? value
->AsEasingFunctionBase () : NULL
;
5514 PointAnimation::SetEasingFunction (EasingFunctionBase
*value
)
5516 SetValue (PointAnimation::EasingFunctionProperty
, Value::CreateUnrefPtr (value
));
5520 PointAnimation::GetBy ()
5522 Value
*value
= GetValue (PointAnimation::ByProperty
);
5523 return value
? value
->AsPoint () : NULL
;
5527 PointAnimation::SetBy (Point value
)
5529 SetValue (PointAnimation::ByProperty
, Value (value
));
5533 PointAnimation::SetBy (Point
*value
)
5536 SetValue (PointAnimation::ByProperty
, NULL
);
5538 SetValue (PointAnimation::ByProperty
, Value (*value
));
5542 PasswordBox::GetSelectionStart ()
5544 Value
*value
= GetValue (PasswordBox::SelectionStartProperty
);
5545 return value
->AsInt32 ();
5549 PasswordBox::SetSelectionStart (gint32 value
)
5551 SetValue (PasswordBox::SelectionStartProperty
, Value (value
));
5555 PasswordBox::GetSelectionLength ()
5557 Value
*value
= GetValue (PasswordBox::SelectionLengthProperty
);
5558 return value
->AsInt32 ();
5562 PasswordBox::SetSelectionLength (gint32 value
)
5564 SetValue (PasswordBox::SelectionLengthProperty
, Value (value
));
5568 PasswordBox::GetSelectionForeground ()
5570 Value
*value
= GetValue (PasswordBox::SelectionForegroundProperty
);
5571 return value
? value
->AsBrush () : NULL
;
5575 PasswordBox::SetSelectionForeground (Brush
*value
)
5577 SetValue (PasswordBox::SelectionForegroundProperty
, Value::CreateUnrefPtr (value
));
5581 PasswordBox::GetSelectionBackground ()
5583 Value
*value
= GetValue (PasswordBox::SelectionBackgroundProperty
);
5584 return value
? value
->AsBrush () : NULL
;
5588 PasswordBox::SetSelectionBackground (Brush
*value
)
5590 SetValue (PasswordBox::SelectionBackgroundProperty
, Value::CreateUnrefPtr (value
));
5594 PasswordBox::GetSelectedText ()
5596 Value
*value
= GetValue (PasswordBox::SelectedTextProperty
);
5597 return value
? value
->AsString () : NULL
;
5601 PasswordBox::SetSelectedText (const char *value
)
5603 SetValue (PasswordBox::SelectedTextProperty
, Value (value
));
5607 PasswordBox::GetPassword ()
5609 Value
*value
= GetValue (PasswordBox::PasswordProperty
);
5610 return value
? value
->AsString () : NULL
;
5614 PasswordBox::SetPassword (const char *value
)
5616 SetValue (PasswordBox::PasswordProperty
, Value (value
));
5620 PasswordBox::GetPasswordChar ()
5622 Value
*value
= GetValue (PasswordBox::PasswordCharProperty
);
5623 return value
->AsChar ();
5627 PasswordBox::SetPasswordChar (gunichar value
)
5629 SetValue (PasswordBox::PasswordCharProperty
, Value (value
, Type::CHAR
));
5633 PasswordBox::GetMaxLength ()
5635 Value
*value
= GetValue (PasswordBox::MaxLengthProperty
);
5636 return value
->AsInt32 ();
5640 PasswordBox::SetMaxLength (gint32 value
)
5642 SetValue (PasswordBox::MaxLengthProperty
, Value (value
));
5646 PasswordBox::GetFontSource ()
5648 Value
*value
= GetValue (PasswordBox::FontSourceProperty
);
5649 return value
? value
->AsFontSource () : NULL
;
5653 PasswordBox::SetFontSource (FontSource
*value
)
5656 SetValue (PasswordBox::FontSourceProperty
, Value (*value
));
5660 PasswordBox::GetCaretBrush ()
5662 Value
*value
= GetValue (PasswordBox::CaretBrushProperty
);
5663 return value
? value
->AsBrush () : NULL
;
5667 PasswordBox::SetCaretBrush (Brush
*value
)
5669 SetValue (PasswordBox::CaretBrushProperty
, Value::CreateUnrefPtr (value
));
5673 ObjectKeyFrame::GetKeyTime ()
5675 Value
*value
= DependencyObject::GetValue (ObjectKeyFrame::KeyTimeProperty
);
5676 return value
? value
->AsKeyTime () : NULL
;
5680 ObjectKeyFrame::SetKeyTime (KeyTime value
)
5682 DependencyObject::SetValue (ObjectKeyFrame::KeyTimeProperty
, Value (value
));
5686 ObjectKeyFrame::SetKeyTime (KeyTime
*value
)
5689 DependencyObject::SetValue (ObjectKeyFrame::KeyTimeProperty
, NULL
);
5691 DependencyObject::SetValue (ObjectKeyFrame::KeyTimeProperty
, Value (*value
));
5695 ObjectKeyFrame::GetConvertedValue ()
5697 return DependencyObject::GetValue (ObjectKeyFrame::ConvertedValueProperty
);
5701 ObjectKeyFrame::SetConvertedValue (Value
* value
)
5703 DependencyObject::SetValue (ObjectKeyFrame::ConvertedValueProperty
, Value (*value
));
5706 ObjectKeyFrameCollection
*
5707 ObjectAnimationUsingKeyFrames::GetKeyFrames ()
5709 Value
*value
= GetValue (ObjectAnimationUsingKeyFrames::KeyFramesProperty
);
5710 return value
? value
->AsObjectKeyFrameCollection () : NULL
;
5714 ObjectAnimationUsingKeyFrames::SetKeyFrames (ObjectKeyFrameCollection
*value
)
5716 SetValue (ObjectAnimationUsingKeyFrames::KeyFramesProperty
, Value::CreateUnrefPtr (value
));
5720 MatrixTransform::GetMatrix ()
5722 Value
*value
= GetValue (MatrixTransform::MatrixProperty
);
5723 return value
? value
->AsMatrix () : NULL
;
5727 MatrixTransform::SetMatrix (Matrix
*value
)
5729 SetValue (MatrixTransform::MatrixProperty
, Value::CreateUnrefPtr (value
));
5733 LineSegment::GetPoint ()
5735 Value
*value
= GetValue (LineSegment::PointProperty
);
5736 return value
? value
->AsPoint () : NULL
;
5740 LineSegment::SetPoint (Point
*value
)
5743 SetValue (LineSegment::PointProperty
, Value (*value
));
5747 LayoutInformation::GetVisualOffset (DependencyObject
*obj
)
5749 Value
*value
= (!obj
) ? NULL
: obj
->GetValue (LayoutInformation::VisualOffsetProperty
);
5750 if (!value
) value
= Deployment::GetCurrent ()->GetTypes ()->GetProperty (LayoutInformation::VisualOffsetProperty
)->GetDefaultValue();
5751 return value
? value
->AsPoint () : NULL
;
5755 LayoutInformation::SetVisualOffset (DependencyObject
*obj
, Point
*value
)
5759 obj
->SetValue (LayoutInformation::VisualOffsetProperty
, Value (*value
));
5763 LayoutInformation::GetPreviousConstraint (DependencyObject
*obj
)
5765 Value
*value
= (!obj
) ? NULL
: obj
->GetValue (LayoutInformation::PreviousConstraintProperty
);
5766 if (!value
) value
= Deployment::GetCurrent ()->GetTypes ()->GetProperty (LayoutInformation::PreviousConstraintProperty
)->GetDefaultValue();
5767 return value
? value
->AsSize () : NULL
;
5771 LayoutInformation::SetPreviousConstraint (DependencyObject
*obj
, Size
*value
)
5775 obj
->SetValue (LayoutInformation::PreviousConstraintProperty
, Value (*value
));
5779 LayoutInformation::GetLayoutSlot (DependencyObject
*obj
)
5781 Value
*value
= (!obj
) ? NULL
: obj
->GetValue (LayoutInformation::LayoutSlotProperty
);
5782 if (!value
) value
= Deployment::GetCurrent ()->GetTypes ()->GetProperty (LayoutInformation::LayoutSlotProperty
)->GetDefaultValue();
5783 return value
? value
->AsRect () : NULL
;
5787 LayoutInformation::SetLayoutSlot (DependencyObject
*obj
, Rect
*value
)
5791 obj
->SetValue (LayoutInformation::LayoutSlotProperty
, Value (*value
));
5795 LayoutInformation::GetLayoutClip (DependencyObject
*obj
)
5797 Value
*value
= (!obj
) ? NULL
: obj
->GetValue (LayoutInformation::LayoutClipProperty
);
5798 if (!value
) value
= Deployment::GetCurrent ()->GetTypes ()->GetProperty (LayoutInformation::LayoutClipProperty
)->GetDefaultValue();
5799 return value
? value
->AsGeometry () : NULL
;
5803 LayoutInformation::SetLayoutClip (DependencyObject
*obj
, Geometry
*value
)
5806 obj
->SetValue (LayoutInformation::LayoutClipProperty
, Value::CreateUnrefPtr (value
));
5810 LayoutInformation::GetLastRenderSize (DependencyObject
*obj
)
5812 Value
*value
= (!obj
) ? NULL
: obj
->GetValue (LayoutInformation::LastRenderSizeProperty
);
5813 if (!value
) value
= Deployment::GetCurrent ()->GetTypes ()->GetProperty (LayoutInformation::LastRenderSizeProperty
)->GetDefaultValue();
5814 return value
? value
->AsSize () : NULL
;
5818 LayoutInformation::SetLastRenderSize (DependencyObject
*obj
, Size
*value
)
5822 obj
->SetValue (LayoutInformation::LastRenderSizeProperty
, Value (*value
));
5826 LayoutInformation::GetFinalRect (DependencyObject
*obj
)
5828 Value
*value
= (!obj
) ? NULL
: obj
->GetValue (LayoutInformation::FinalRectProperty
);
5829 if (!value
) value
= Deployment::GetCurrent ()->GetTypes ()->GetProperty (LayoutInformation::FinalRectProperty
)->GetDefaultValue();
5830 return value
? value
->AsSize () : NULL
;
5834 LayoutInformation::SetFinalRect (DependencyObject
*obj
, Size
*value
)
5838 obj
->SetValue (LayoutInformation::FinalRectProperty
, Value (*value
));
5842 ExtensionPart::GetSource ()
5844 Value
*value
= GetValue (ExtensionPart::SourceProperty
);
5845 return value
? value
->AsUri () : NULL
;
5849 ExtensionPart::SetSource (Uri
*value
)
5852 SetValue (ExtensionPart::SourceProperty
, Value (*value
));
5856 EventTrigger::GetRoutedEvent ()
5858 Value
*value
= GetValue (EventTrigger::RoutedEventProperty
);
5859 return value
? value
->AsString () : NULL
;
5863 EventTrigger::SetRoutedEvent (const char *value
)
5865 SetValue (EventTrigger::RoutedEventProperty
, Value (value
));
5868 TriggerActionCollection
*
5869 EventTrigger::GetActions ()
5871 Value
*value
= GetValue (EventTrigger::ActionsProperty
);
5872 return value
? value
->AsTriggerActionCollection () : NULL
;
5876 EventTrigger::SetActions (TriggerActionCollection
*value
)
5878 SetValue (EventTrigger::ActionsProperty
, Value::CreateUnrefPtr (value
));
5882 DropShadowEffect::GetShadowDepth ()
5884 Value
*value
= GetValue (DropShadowEffect::ShadowDepthProperty
);
5885 return value
->AsDouble ();
5889 DropShadowEffect::SetShadowDepth (double value
)
5891 SetValue (DropShadowEffect::ShadowDepthProperty
, Value (value
));
5895 DropShadowEffect::GetOpacity ()
5897 Value
*value
= GetValue (DropShadowEffect::OpacityProperty
);
5898 return value
->AsDouble ();
5902 DropShadowEffect::SetOpacity (double value
)
5904 SetValue (DropShadowEffect::OpacityProperty
, Value (value
));
5908 DropShadowEffect::GetDirection ()
5910 Value
*value
= GetValue (DropShadowEffect::DirectionProperty
);
5911 return value
->AsDouble ();
5915 DropShadowEffect::SetDirection (double value
)
5917 SetValue (DropShadowEffect::DirectionProperty
, Value (value
));
5921 DropShadowEffect::GetColor ()
5923 Value
*value
= GetValue (DropShadowEffect::ColorProperty
);
5924 return value
? value
->AsColor () : NULL
;
5928 DropShadowEffect::SetColor (Color
*value
)
5931 SetValue (DropShadowEffect::ColorProperty
, Value (*value
));
5935 DropShadowEffect::GetBlurRadius ()
5937 Value
*value
= GetValue (DropShadowEffect::BlurRadiusProperty
);
5938 return value
->AsDouble ();
5942 DropShadowEffect::SetBlurRadius (double value
)
5944 SetValue (DropShadowEffect::BlurRadiusProperty
, Value (value
));
5948 DoubleKeyFrame::GetValue ()
5950 Value
*value
= DependencyObject::GetValue (DoubleKeyFrame::ValueProperty
);
5951 return value
? value
->AsNullableDouble () : NULL
;
5955 DoubleKeyFrame::SetValue (double value
)
5957 DependencyObject::SetValue (DoubleKeyFrame::ValueProperty
, Value (value
));
5961 DoubleKeyFrame::SetValue (double * value
)
5964 DependencyObject::SetValue (DoubleKeyFrame::ValueProperty
, NULL
);
5966 DependencyObject::SetValue (DoubleKeyFrame::ValueProperty
, Value (*value
));
5970 DoubleKeyFrame::GetKeyTime ()
5972 Value
*value
= DependencyObject::GetValue (DoubleKeyFrame::KeyTimeProperty
);
5973 return value
? value
->AsKeyTime () : NULL
;
5977 DoubleKeyFrame::SetKeyTime (KeyTime value
)
5979 DependencyObject::SetValue (DoubleKeyFrame::KeyTimeProperty
, Value (value
));
5983 DoubleKeyFrame::SetKeyTime (KeyTime
*value
)
5986 DependencyObject::SetValue (DoubleKeyFrame::KeyTimeProperty
, NULL
);
5988 DependencyObject::SetValue (DoubleKeyFrame::KeyTimeProperty
, Value (*value
));
5992 DoubleAnimation::GetTo ()
5994 Value
*value
= GetValue (DoubleAnimation::ToProperty
);
5995 return value
? value
->AsNullableDouble () : NULL
;
5999 DoubleAnimation::SetTo (double value
)
6001 SetValue (DoubleAnimation::ToProperty
, Value (value
));
6005 DoubleAnimation::SetTo (double * value
)
6008 SetValue (DoubleAnimation::ToProperty
, NULL
);
6010 SetValue (DoubleAnimation::ToProperty
, Value (*value
));
6014 DoubleAnimation::GetFrom ()
6016 Value
*value
= GetValue (DoubleAnimation::FromProperty
);
6017 return value
? value
->AsNullableDouble () : NULL
;
6021 DoubleAnimation::SetFrom (double value
)
6023 SetValue (DoubleAnimation::FromProperty
, Value (value
));
6027 DoubleAnimation::SetFrom (double * value
)
6030 SetValue (DoubleAnimation::FromProperty
, NULL
);
6032 SetValue (DoubleAnimation::FromProperty
, Value (*value
));
6035 EasingFunctionBase
*
6036 DoubleAnimation::GetEasingFunction ()
6038 Value
*value
= GetValue (DoubleAnimation::EasingFunctionProperty
);
6039 return value
? value
->AsEasingFunctionBase () : NULL
;
6043 DoubleAnimation::SetEasingFunction (EasingFunctionBase
*value
)
6045 SetValue (DoubleAnimation::EasingFunctionProperty
, Value::CreateUnrefPtr (value
));
6049 DoubleAnimation::GetBy ()
6051 Value
*value
= GetValue (DoubleAnimation::ByProperty
);
6052 return value
? value
->AsNullableDouble () : NULL
;
6056 DoubleAnimation::SetBy (double value
)
6058 SetValue (DoubleAnimation::ByProperty
, Value (value
));
6062 DoubleAnimation::SetBy (double * value
)
6065 SetValue (DoubleAnimation::ByProperty
, NULL
);
6067 SetValue (DoubleAnimation::ByProperty
, Value (*value
));
6071 DependencyObject::GetName ()
6073 Value
*value
= GetValue (DependencyObject::NameProperty
);
6074 return value
? value
->AsString () : NULL
;
6078 DependencyObject::SetName (const char *value
)
6080 SetValue (DependencyObject::NameProperty
, Value (value
));
6084 ColorKeyFrame::GetValue ()
6086 Value
*value
= DependencyObject::GetValue (ColorKeyFrame::ValueProperty
);
6087 return value
? value
->AsColor () : NULL
;
6091 ColorKeyFrame::SetValue (Color value
)
6093 DependencyObject::SetValue (ColorKeyFrame::ValueProperty
, Value (value
));
6097 ColorKeyFrame::SetValue (Color
*value
)
6100 DependencyObject::SetValue (ColorKeyFrame::ValueProperty
, NULL
);
6102 DependencyObject::SetValue (ColorKeyFrame::ValueProperty
, Value (*value
));
6106 ColorKeyFrame::GetKeyTime ()
6108 Value
*value
= DependencyObject::GetValue (ColorKeyFrame::KeyTimeProperty
);
6109 return value
? value
->AsKeyTime () : NULL
;
6113 ColorKeyFrame::SetKeyTime (KeyTime value
)
6115 DependencyObject::SetValue (ColorKeyFrame::KeyTimeProperty
, Value (value
));
6119 ColorKeyFrame::SetKeyTime (KeyTime
*value
)
6122 DependencyObject::SetValue (ColorKeyFrame::KeyTimeProperty
, NULL
);
6124 DependencyObject::SetValue (ColorKeyFrame::KeyTimeProperty
, Value (*value
));
6128 ColorAnimation::GetTo ()
6130 Value
*value
= GetValue (ColorAnimation::ToProperty
);
6131 return value
? value
->AsColor () : NULL
;
6135 ColorAnimation::SetTo (Color value
)
6137 SetValue (ColorAnimation::ToProperty
, Value (value
));
6141 ColorAnimation::SetTo (Color
*value
)
6144 SetValue (ColorAnimation::ToProperty
, NULL
);
6146 SetValue (ColorAnimation::ToProperty
, Value (*value
));
6150 ColorAnimation::GetFrom ()
6152 Value
*value
= GetValue (ColorAnimation::FromProperty
);
6153 return value
? value
->AsColor () : NULL
;
6157 ColorAnimation::SetFrom (Color value
)
6159 SetValue (ColorAnimation::FromProperty
, Value (value
));
6163 ColorAnimation::SetFrom (Color
*value
)
6166 SetValue (ColorAnimation::FromProperty
, NULL
);
6168 SetValue (ColorAnimation::FromProperty
, Value (*value
));
6171 EasingFunctionBase
*
6172 ColorAnimation::GetEasingFunction ()
6174 Value
*value
= GetValue (ColorAnimation::EasingFunctionProperty
);
6175 return value
? value
->AsEasingFunctionBase () : NULL
;
6179 ColorAnimation::SetEasingFunction (EasingFunctionBase
*value
)
6181 SetValue (ColorAnimation::EasingFunctionProperty
, Value::CreateUnrefPtr (value
));
6185 ColorAnimation::GetBy ()
6187 Value
*value
= GetValue (ColorAnimation::ByProperty
);
6188 return value
? value
->AsColor () : NULL
;
6192 ColorAnimation::SetBy (Color value
)
6194 SetValue (ColorAnimation::ByProperty
, Value (value
));
6198 ColorAnimation::SetBy (Color
*value
)
6201 SetValue (ColorAnimation::ByProperty
, NULL
);
6203 SetValue (ColorAnimation::ByProperty
, Value (*value
));
6207 BlurEffect::GetRadius ()
6209 Value
*value
= GetValue (BlurEffect::RadiusProperty
);
6210 return value
->AsDouble ();
6214 BlurEffect::SetRadius (double value
)
6216 SetValue (BlurEffect::RadiusProperty
, Value (value
));
6220 BitmapSource::GetPixelWidth ()
6222 Value
*value
= GetValue (BitmapSource::PixelWidthProperty
);
6223 return value
->AsInt32 ();
6227 BitmapSource::SetPixelWidth (gint32 value
)
6229 SetValue (BitmapSource::PixelWidthProperty
, Value (value
));
6233 BitmapSource::GetPixelHeight ()
6235 Value
*value
= GetValue (BitmapSource::PixelHeightProperty
);
6236 return value
->AsInt32 ();
6240 BitmapSource::SetPixelHeight (gint32 value
)
6242 SetValue (BitmapSource::PixelHeightProperty
, Value (value
));
6246 BitmapSource::GetPixelFormat ()
6248 Value
*value
= GetValue (BitmapSource::PixelFormatProperty
);
6249 return (PixelFormats
) value
->AsInt32 ();
6253 BitmapSource::SetPixelFormat (PixelFormats value
)
6255 SetValue (BitmapSource::PixelFormatProperty
, Value (value
));
6259 BitmapCache::GetRenderAtScale ()
6261 Value
*value
= GetValue (BitmapCache::RenderAtScaleProperty
);
6262 return value
->AsDouble ();
6266 BitmapCache::SetRenderAtScale (double value
)
6268 SetValue (BitmapCache::RenderAtScaleProperty
, Value (value
));
6272 BezierSegment::GetPoint3 ()
6274 Value
*value
= GetValue (BezierSegment::Point3Property
);
6275 return value
? value
->AsPoint () : NULL
;
6279 BezierSegment::SetPoint3 (Point
*value
)
6282 SetValue (BezierSegment::Point3Property
, Value (*value
));
6286 BezierSegment::GetPoint2 ()
6288 Value
*value
= GetValue (BezierSegment::Point2Property
);
6289 return value
? value
->AsPoint () : NULL
;
6293 BezierSegment::SetPoint2 (Point
*value
)
6296 SetValue (BezierSegment::Point2Property
, Value (*value
));
6300 BezierSegment::GetPoint1 ()
6302 Value
*value
= GetValue (BezierSegment::Point1Property
);
6303 return value
? value
->AsPoint () : NULL
;
6307 BezierSegment::SetPoint1 (Point
*value
)
6310 SetValue (BezierSegment::Point1Property
, Value (*value
));
6314 BeginStoryboard::GetStoryboard ()
6316 Value
*value
= GetValue (BeginStoryboard::StoryboardProperty
);
6317 return value
? value
->AsStoryboard () : NULL
;
6321 BeginStoryboard::SetStoryboard (Storyboard
*value
)
6323 SetValue (BeginStoryboard::StoryboardProperty
, Value::CreateUnrefPtr (value
));
6327 ArcSegment::GetSweepDirection ()
6329 Value
*value
= GetValue (ArcSegment::SweepDirectionProperty
);
6330 return (SweepDirection
) value
->AsInt32 ();
6334 ArcSegment::SetSweepDirection (SweepDirection value
)
6336 SetValue (ArcSegment::SweepDirectionProperty
, Value (value
));
6340 ArcSegment::GetSize ()
6342 Value
*value
= GetValue (ArcSegment::SizeProperty
);
6343 return value
? value
->AsSize () : NULL
;
6347 ArcSegment::SetSize (Size
*value
)
6350 SetValue (ArcSegment::SizeProperty
, Value (*value
));
6354 ArcSegment::GetRotationAngle ()
6356 Value
*value
= GetValue (ArcSegment::RotationAngleProperty
);
6357 return value
->AsDouble ();
6361 ArcSegment::SetRotationAngle (double value
)
6363 SetValue (ArcSegment::RotationAngleProperty
, Value (value
));
6367 ArcSegment::GetPoint ()
6369 Value
*value
= GetValue (ArcSegment::PointProperty
);
6370 return value
? value
->AsPoint () : NULL
;
6374 ArcSegment::SetPoint (Point
*value
)
6377 SetValue (ArcSegment::PointProperty
, Value (*value
));
6381 ArcSegment::GetIsLargeArc ()
6383 Value
*value
= GetValue (ArcSegment::IsLargeArcProperty
);
6384 return value
->AsBool ();
6388 ArcSegment::SetIsLargeArc (bool value
)
6390 SetValue (ArcSegment::IsLargeArcProperty
, Value (value
));