2 writes to _partContentPresenter
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonControl.cs (2)
125
_partContentPresenter
= GetTemplateChild(PART_ContentPresenter) as RibbonContentPresenter;
136
_partContentPresenter
= null;
15 references to _partContentPresenter
System.Windows.Controls.Ribbon (15)
Microsoft\Windows\Controls\Ribbon\RibbonControl.cs (15)
133
if ((oldTemplate != null) && (
_partContentPresenter
!= null))
135
RibbonHelper.ClearPseudoInheritedProperties(
_partContentPresenter
);
196
if (
_partContentPresenter
!= null)
198
RibbonHelper.TransferPseudoInheritedProperties(this,
_partContentPresenter
);
208
if (
_partContentPresenter
!= null)
210
if (VisualTreeHelper.GetChildrenCount(
_partContentPresenter
) > 0 &&
211
VisualTreeHelper.GetChild(
_partContentPresenter
, 0) is RibbonGroup)
225
get { return
_partContentPresenter
!= null ?
_partContentPresenter
.ContentChild : null; }
230
get { return
_partContentPresenter
!= null ?
_partContentPresenter
.ChildHasLargeImage : false; }
235
get { return
_partContentPresenter
!= null ?
_partContentPresenter
.ChildHasSmallImage : false; }
240
get { return
_partContentPresenter
!= null ?
_partContentPresenter
.ChildHasLabel : false; }