29 references to PropertyOwner
PresentationFramework (29)
MS\Internal\Documents\TextDocumentView.cs (5)
3278FlowDirection flowDirection = (FlowDirection)_owner.StructuralCache.PropertyOwner.GetValue(FlowDocument.FlowDirectionProperty); 3296FlowDirection flowDirection = (FlowDirection)_owner.StructuralCache.PropertyOwner.GetValue(FlowDocument.FlowDirectionProperty); 3322FlowDirection flowDirection = (FlowDirection)_owner.StructuralCache.PropertyOwner.GetValue(FlowDocument.FlowDirectionProperty); 3340FlowDirection flowDirection = (FlowDirection)_owner.StructuralCache.PropertyOwner.GetValue(FlowDocument.FlowDirectionProperty); 3358FlowDirection flowDirection = (FlowDirection)_owner.StructuralCache.PropertyOwner.GetValue(FlowDocument.FlowDirectionProperty);
MS\Internal\PtsHost\FigureHelper.cs (4)
226ColumnPropertiesGroup columnProperties = new ColumnPropertiesGroup(structuralCache.PropertyOwner); 227FontFamily pageFontFamily = (FontFamily)structuralCache.PropertyOwner.GetValue(Block.FontFamilyProperty); 228double lineHeight = DynamicPropertyReader.GetLineHeightValue(structuralCache.PropertyOwner); 229double pageFontSize = (double)structuralCache.PropertyOwner.GetValue(Block.FontSizeProperty);
MS\Internal\PtsHost\FlowDocumentPage.cs (3)
636this.PageVisual.DrawBackground((Brush)_structuralCache.PropertyOwner.GetValue(FlowDocument.BackgroundProperty), contentViewport); 851this.PageVisual.DrawBackground((Brush)_structuralCache.PropertyOwner.GetValue(FlowDocument.BackgroundProperty), new Rect(_partitionSize)); 865FlowDirection flowdirection = (FlowDirection)_structuralCache.PropertyOwner.GetValue(FlowDocument.FlowDirectionProperty);
MS\Internal\PtsHost\PtsHelper.cs (2)
769double pageFontSize = (double)structuralCache.PropertyOwner.GetValue(Block.FontSizeProperty); 770FontFamily pageFontFamily = (FontFamily)structuralCache.PropertyOwner.GetValue(Block.FontFamilyProperty);
MS\Internal\PtsHost\Section.cs (7)
120StructuralCache.PageFlowDirection = (FlowDirection)_structuralCache.PropertyOwner.GetValue(FrameworkElement.FlowDirectionProperty); 216double pageFontSize = (double)_structuralCache.PropertyOwner.GetValue(Block.FontSizeProperty); 217FontFamily pageFontFamily = (FontFamily)_structuralCache.PropertyOwner.GetValue(Block.FontFamilyProperty); 221fswdir = PTS.FlowDirectionToFswdir((FlowDirection)_structuralCache.PropertyOwner.GetValue(FrameworkElement.FlowDirectionProperty)); 358double pageFontSize = (double)_structuralCache.PropertyOwner.GetValue(Block.FontSizeProperty); 359FontFamily pageFontFamily = (FontFamily)_structuralCache.PropertyOwner.GetValue(Block.FontFamilyProperty); 495return _structuralCache.PropertyOwner;
MS\Internal\PtsHost\StructuralCache.cs (2)
400return (bool)this.PropertyOwner.GetValue(FlowDocument.IsOptimalParagraphEnabledProperty); 479TextFormattingMode textFormattingMode = TextOptions.GetTextFormattingMode(this.PropertyOwner);
MS\Internal\PtsHost\SubpageParagraph.cs (6)
193double pageFontSize = (double)_structuralCache.PropertyOwner.GetValue(Block.FontSizeProperty); 194FontFamily pageFontFamily = (FontFamily)_structuralCache.PropertyOwner.GetValue(Block.FontFamilyProperty); 367double pageFontSize = (double)_structuralCache.PropertyOwner.GetValue(Block.FontSizeProperty); 368FontFamily pageFontFamily = (FontFamily)_structuralCache.PropertyOwner.GetValue(Block.FontFamilyProperty); 527double pageFontSize = (double)_structuralCache.PropertyOwner.GetValue(Block.FontSizeProperty); 528FontFamily pageFontFamily = (FontFamily)_structuralCache.PropertyOwner.GetValue(Block.FontFamilyProperty);