119 instantiations of ContentProperty
Microsoft.Build.Framework (8)
XamlTypes\BaseProperty.cs (1)
28[ContentProperty("Arguments")]
XamlTypes\ContentType.cs (1)
17[ContentProperty("Metadata")]
XamlTypes\EnumProperty.cs (1)
18[ContentProperty("AdmissibleValues")]
XamlTypes\EnumValue.cs (1)
17[ContentProperty("Arguments")]
XamlTypes\ProjectSchemaDefinitions.cs (1)
17[ContentProperty("Nodes")]
XamlTypes\Rule.cs (1)
53[ContentProperty("Properties")]
XamlTypes\RuleBag.cs (1)
23[ContentProperty("Rules")]
XamlTypes\ValueEditor.cs (1)
17[ContentProperty("Metadata")]
PresentationCore (41)
System\Windows\Input\InputScope.cs (2)
113[ContentProperty("NameValue")] 264[ContentProperty("Name")]
System\Windows\Media\Animation\Generated\BooleanAnimationUsingKeyFrames.cs (1)
35[ContentProperty("KeyFrames")]
System\Windows\Media\Animation\Generated\ByteAnimationUsingKeyFrames.cs (1)
35[ContentProperty("KeyFrames")]
System\Windows\Media\Animation\Generated\CharAnimationUsingKeyFrames.cs (1)
35[ContentProperty("KeyFrames")]
System\Windows\Media\Animation\Generated\ColorAnimationUsingKeyFrames.cs (1)
35[ContentProperty("KeyFrames")]
System\Windows\Media\Animation\Generated\DecimalAnimationUsingKeyFrames.cs (1)
35[ContentProperty("KeyFrames")]
System\Windows\Media\Animation\Generated\DoubleAnimationUsingKeyFrames.cs (1)
35[ContentProperty("KeyFrames")]
System\Windows\Media\Animation\Generated\Int16AnimationUsingKeyFrames.cs (1)
35[ContentProperty("KeyFrames")]
System\Windows\Media\Animation\Generated\Int32AnimationUsingKeyFrames.cs (1)
35[ContentProperty("KeyFrames")]
System\Windows\Media\Animation\Generated\Int64AnimationUsingKeyFrames.cs (1)
35[ContentProperty("KeyFrames")]
System\Windows\Media\Animation\Generated\MatrixAnimationUsingKeyFrames.cs (1)
35[ContentProperty("KeyFrames")]
System\Windows\Media\Animation\Generated\ObjectAnimationUsingKeyFrames.cs (1)
35[ContentProperty("KeyFrames")]
System\Windows\Media\Animation\Generated\Point3DAnimationUsingKeyFrames.cs (1)
35[ContentProperty("KeyFrames")]
System\Windows\Media\Animation\Generated\PointAnimationUsingKeyFrames.cs (1)
35[ContentProperty("KeyFrames")]
System\Windows\Media\Animation\Generated\QuaternionAnimationUsingKeyFrames.cs (1)
35[ContentProperty("KeyFrames")]
System\Windows\Media\Animation\Generated\RectAnimationUsingKeyFrames.cs (1)
35[ContentProperty("KeyFrames")]
System\Windows\Media\Animation\Generated\Rotation3DAnimationUsingKeyFrames.cs (1)
35[ContentProperty("KeyFrames")]
System\Windows\Media\Animation\Generated\SingleAnimationUsingKeyFrames.cs (1)
35[ContentProperty("KeyFrames")]
System\Windows\Media\Animation\Generated\SizeAnimationUsingKeyFrames.cs (1)
35[ContentProperty("KeyFrames")]
System\Windows\Media\Animation\Generated\StringAnimationUsingKeyFrames.cs (1)
35[ContentProperty("KeyFrames")]
System\Windows\Media\Animation\Generated\Vector3DAnimationUsingKeyFrames.cs (1)
35[ContentProperty("KeyFrames")]
System\Windows\Media\Animation\Generated\VectorAnimationUsingKeyFrames.cs (1)
35[ContentProperty("KeyFrames")]
System\Windows\Media\Animation\TimelineGroup.cs (1)
20[ContentProperty("Children")]
System\Windows\Media\DrawingGroup.cs (1)
44[ContentProperty("Children")]
System\Windows\Media\Effects\BitmapEffectGroup.cs (1)
33[ContentProperty("Children")]
System\Windows\Media\GeneralTransformGroup.cs (1)
31[ContentProperty("Children")]
System\Windows\Media\GeometryGroup.cs (1)
35[ContentProperty("Children")]
System\Windows\Media\GradientBrush.cs (1)
34[ContentProperty("GradientStops")]
System\Windows\Media\PathFigure.cs (1)
33[ContentProperty("Segments")]
System\Windows\Media\PathGeometry.cs (1)
52[ContentProperty("Figures")]
System\Windows\Media\TransformGroup.cs (1)
32[ContentProperty("Children")]
System\Windows\Media3D\ContainerUIElement3D.cs (1)
30[ContentProperty("Children")]
System\Windows\Media3D\GeneralTransform3DGroup.cs (1)
31[ContentProperty("Children")]
System\Windows\Media3D\MaterialGroup.cs (1)
28[ContentProperty("Children")]
System\Windows\Media3D\Model3DGroup.cs (1)
31[ContentProperty("Children")]
System\Windows\Media3D\ModelUIElement3D.cs (1)
30[ContentProperty("Model")]
System\Windows\Media3D\ModelVisual3D.cs (1)
30[ContentProperty("Children")]
System\Windows\Media3D\Transform3DGroup.cs (1)
39[ContentProperty("Children")]
System\Windows\Media3D\Viewport2DVisual3D.cs (1)
33[ContentProperty("Visual")]
System\Windows\Media3D\Viewport3DVisual.cs (1)
31[ContentProperty("Children")]
PresentationFramework (60)
System\Windows\Controls\AccessText.cs (1)
24[ContentProperty("Text")]
System\Windows\Controls\AdornedElementPlaceholder.cs (1)
33[ContentProperty("Child")]
System\Windows\Controls\AlternationConverter.cs (1)
23[ContentProperty("Values")]
System\Windows\Controls\ContentControl.cs (1)
33[ContentProperty("Content")]
System\Windows\Controls\Decorator.cs (1)
27[ContentProperty("Child")]
System\Windows\Controls\FlowDocumentReader.cs (1)
35[ContentProperty("Document")]
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
40[ContentProperty("Document")]
System\Windows\Controls\Frame.cs (1)
101[ContentProperty]
System\Windows\Controls\GridView.cs (1)
26[ContentProperty("Columns")]
System\Windows\Controls\GridViewColumn.cs (1)
20[ContentProperty("Header")]
System\Windows\Controls\InkCanvas.cs (1)
49[ContentProperty("Children")]
System\Windows\Controls\ItemsControl.cs (1)
41[ContentProperty("Items")]
System\Windows\Controls\Page.cs (1)
37[ContentProperty("Content")]
System\Windows\Controls\Panel.cs (1)
29[ContentProperty("Children")]
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
46[ContentProperty("Document")]
System\Windows\Controls\Primitives\Popup.cs (1)
53[ContentProperty("Child")]
System\Windows\Controls\RichTextBox.cs (1)
31[ContentProperty("Document")]
System\Windows\Controls\TextBlock.cs (1)
55[ContentProperty("Inlines")]
System\Windows\Controls\TextBox.cs (1)
37[ContentProperty("Text")]
System\Windows\Controls\ToolBarTray.cs (1)
36[ContentProperty("ToolBars")]
System\Windows\Controls\ViewPort3D.cs (1)
31[ContentProperty("Children")]
System\Windows\Data\MultiBinding.cs (1)
33[ContentProperty("Bindings")]
System\Windows\Data\PriorityBinding.cs (1)
29[ContentProperty("Bindings")]
System\Windows\Data\XmlDataProvider.cs (1)
40[ContentProperty("XmlSerializer")]
System\Windows\DataTrigger.cs (1)
23[ContentProperty("Setters")]
System\Windows\Documents\AnchoredBlock.cs (1)
26[ContentProperty("Blocks")]
System\Windows\Documents\BlockUIContainer.cs (1)
19[ContentProperty("Child")]
System\Windows\Documents\DocumentSequence.cs (1)
33[ContentProperty("References")]
System\Windows\Documents\DocumentStructures\StoryFragments.cs (2)
29[ContentProperty("StoryFragmentList")] 87[ContentProperty("BlockElementList")]
System\Windows\Documents\FixedDocument.cs (1)
51[ContentProperty("Pages")]
System\Windows\Documents\FixedPage.cs (1)
47[ContentProperty("Children")]
System\Windows\Documents\FlowDocument.cs (1)
63[ContentProperty("Blocks")]
System\Windows\Documents\InlineUIContainer.cs (1)
21[ContentProperty("Child")]
System\Windows\Documents\List.cs (1)
23[ContentProperty("ListItems")]
System\Windows\Documents\ListItem.cs (1)
23[ContentProperty("Blocks")]
System\Windows\Documents\PageContent.cs (1)
48[ContentProperty("Child")]
System\Windows\Documents\Paragraph.cs (1)
19[ContentProperty("Inlines")]
System\Windows\Documents\Run.cs (1)
19[ContentProperty("Text")]
System\windows\Documents\Section.cs (1)
17[ContentProperty("Blocks")]
System\Windows\Documents\Span.cs (1)
19[ContentProperty("Inlines")]
System\Windows\Documents\Table.cs (1)
34[ContentProperty("RowGroups")]
System\Windows\Documents\TableCell.cs (1)
46[ContentProperty("Blocks")]
System\Windows\Documents\TableRow.cs (1)
37[ContentProperty("Cells")]
System\Windows\Documents\TableRowGroup.cs (1)
43[ContentProperty("Rows")]
System\Windows\EventTrigger.cs (1)
24[ContentProperty("Actions")]
System\Windows\FrameworkTemplate.cs (1)
43[ContentProperty("VisualTree")]
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2939bamlType.DefaultConstructor = delegate() { return new System.Windows.Markup.ContentPropertyAttribute(); };
System\Windows\Markup\Baml2006\WpfKnownType.cs (1)
393result = (_contentPropertyName == null) ? null : new ContentPropertyAttribute(_contentPropertyName);
System\Windows\Media\Animation\BeginStoryboard.cs (1)
26[ContentProperty("Storyboard")] // Enables <Storyboard> child without explicit <BeginStoryboard.Storyboard> tag.
System\Windows\Media\Animation\Generated\ThicknessAnimationUsingKeyFrames.cs (1)
34[ContentProperty("KeyFrames")]
System\Windows\MultiDataTrigger.cs (1)
25[ContentProperty("Setters")]
System\Windows\MultiTrigger.cs (1)
20[ContentProperty("Setters")]
System\Windows\Navigation\NavigationWindow.cs (1)
53[ContentProperty]
System\Windows\Shell\JumpList.cs (1)
121[ContentProperty("JumpItems")]
System\Windows\Style.cs (1)
38[ContentProperty("Setters")]
System\Windows\Trigger.cs (1)
21[ContentProperty("Setters")]
System\Windows\VisualState.cs (1)
15[ContentProperty("Storyboard")]
System\Windows\VisualStateGroup.cs (1)
20[ContentProperty("States")]
System\Windows\VisualTransition.cs (1)
19[ContentProperty("Storyboard")]
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroup.cs (1)
34[ContentProperty("Header")]
Microsoft\Windows\Controls\Ribbon\RibbonGroupSizeDefinition.cs (1)
24[ContentProperty("ControlSizeDefinitions")]
Microsoft\Windows\Controls\Ribbon\RibbonGroupTemplateSizeDefinition.cs (1)
15[ContentProperty("ContentTemplate")]
System.Xaml (3)
System\Windows\Markup\ArrayExtension.cs (1)
17[ContentProperty("Items")]
System\Windows\Markup\Reference.cs (1)
11[ContentProperty("Name")]
System\Windows\Markup\XData.cs (1)
17[ContentProperty("Text")]
System.Xaml.Tests (2)
System\Windows\Markup\ContentPropertyAttributeTests.cs (2)
13var attribute = new ContentPropertyAttribute(); 23var attribute = new ContentPropertyAttribute(name);
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHost.cs (1)
41[ContentProperty("Child")]
System\Windows\Integration\WindowsFormsHost.cs (1)
35[ContentProperty("Child")]
19 references to ContentProperty
PresentationFramework (14)
MS\Internal\Globalization\BamlTreeUpdater.cs (3)
837typeof(ContentPropertyAttribute), 843ContentPropertyAttribute contentPropertyAttribute = contentPropertyAttributes[0] as ContentPropertyAttribute;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
199case 103: t = () => typeof(ContentPropertyAttribute); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2937typeof(System.Windows.Markup.ContentPropertyAttribute),
System\Windows\Markup\Baml2006\WpfKnownType.cs (1)
391if (attributeType == typeof(ContentPropertyAttribute))
System\Windows\Markup\KnownTypes.cs (1)
5657case KnownElements.ContentPropertyAttribute: t = typeof(System.Windows.Markup.ContentPropertyAttribute); break;
System\Windows\Markup\Primitives\MarkupWriter.cs (7)
485ContentPropertyAttribute cpa = item.Attributes[typeof(ContentPropertyAttribute)] as ContentPropertyAttribute; 866private bool IsContentProperty(MarkupProperty property, ContentPropertyAttribute cpa, ref MarkupProperty contentProperty) 1108ContentPropertyAttribute cpa = item.Attributes[typeof(ContentPropertyAttribute)] as ContentPropertyAttribute;
System.Xaml (3)
System\Xaml\Schema\Reflector.cs (2)
76if (attributeType == typeof(ContentPropertyAttribute)) 78return ((ContentPropertyAttribute)attributes[0]).Name;
System\Xaml\XamlType.cs (1)
755if (TryGetAttributeString(typeof(ContentPropertyAttribute), out contentPropertyName))
System.Xaml.Tests (2)
System\Windows\Markup\ContentPropertyAttributeTests.cs (2)
13var attribute = new ContentPropertyAttribute(); 23var attribute = new ContentPropertyAttribute(name);