RibbonContextMenu.ShouldApplyItemContainerStyle 메서드

정의

ItemContainerStyle 또는 ItemContainerStyleSelector 속성의 스타일을 지정된 항목의 컨테이너 요소에 적용할지 여부를 나타내는 값을 반환합니다.

protected:
 override bool ShouldApplyItemContainerStyle(System::Windows::DependencyObject ^ container, System::Object ^ item);
protected override bool ShouldApplyItemContainerStyle (System.Windows.DependencyObject container, object item);
override this.ShouldApplyItemContainerStyle : System.Windows.DependencyObject * obj -> bool
Protected Overrides Function ShouldApplyItemContainerStyle (container As DependencyObject, item As Object) As Boolean

매개 변수

container
DependencyObject

컨테이너 요소입니다.

item
Object

표시할 항목입니다.

반환

Boolean

containerRibbonApplicationSplitMenuItem, RibbonSeparator 또는 RibbonGallery일 경우 false이며, 그 이외의 경우에는 기본 구현에서 반환한 값입니다.

적용 대상