2 writes to _partContentPresenter
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonControl.cs (2)
129
_partContentPresenter
= GetTemplateChild(PART_ContentPresenter) as RibbonContentPresenter;
140
_partContentPresenter
= null;
15 references to _partContentPresenter
System.Windows.Controls.Ribbon (15)
Microsoft\Windows\Controls\Ribbon\RibbonControl.cs (15)
137
if ((oldTemplate != null) && (
_partContentPresenter
!= null))
139
RibbonHelper.ClearPseudoInheritedProperties(
_partContentPresenter
);
200
if (
_partContentPresenter
!= null)
202
RibbonHelper.TransferPseudoInheritedProperties(this,
_partContentPresenter
);
212
if (
_partContentPresenter
!= null)
214
if (VisualTreeHelper.GetChildrenCount(
_partContentPresenter
) > 0 &&
215
VisualTreeHelper.GetChild(
_partContentPresenter
, 0) is RibbonGroup)
229
get { return
_partContentPresenter
!= null ?
_partContentPresenter
.ContentChild : null; }
234
get { return
_partContentPresenter
!= null ?
_partContentPresenter
.ChildHasLargeImage : false; }
239
get { return
_partContentPresenter
!= null ?
_partContentPresenter
.ChildHasSmallImage : false; }
244
get { return
_partContentPresenter
!= null ?
_partContentPresenter
.ChildHasLabel : false; }