ApplicationMenu.RecentItems 속성
애플리케이션 메뉴의 최근 항목 컨트롤에 대한 컨테이너를 나타냅니다.
사용량
<ApplicationMenu.RecentItems
CommandName = "xs:positiveInteger or xs:string"
>
child elements
</ApplicationMenu.RecentItems>
특성
attribute | Type | 필수 | 설명 |
---|---|---|---|
CommandName |
xs:positiveInteger 또는 xs:string |
No |
요소를 Command와 연결합니다. 값은 리본 XML 문서 내에서 고유해야 합니다. 최대 길이: 100자. |
자식 요소
요소 | Description |
---|---|
RecentItems |
정확히 한 번 발생해야 합니다. |
부모 요소
요소 |
---|
ApplicationMenu |
설명
선택 사항입니다.
각 ApplicationMenu 요소에 대해 최대 한 번 발생할 수 있습니다.
최근 항목 컨트롤은 리본 애플리케이션의 가장 최근에 사용한(MRU) 항목 목록을 표시합니다.
예제
다음 예제에서는 최근 항목 컨트롤의 기본 태그를 보여 줍니다.
다음 예제에서는 RecentItems 명령 선언을 보여 줍니다.
<!-- Command declaration for most recently used items. -->
<Command Name="cmdMRUItems"
Symbol="ID_FILE_MRUITEMS"
Id="25050"/>
다음 예제에서는 연결된 ApplicationMenu.RecentItems 및 RecentItems 컨트롤 선언을 보여 줍니다.
<!-- Most recently used items collection. -->
<ApplicationMenu.RecentItems>
<RecentItems CommandName="cmdMRUItems"/>
</ApplicationMenu.RecentItems>
요구 사항
요구 사항 | 값 |
---|---|
지원되는 최소 클라이언트 |
Windows 7 [데스크톱 앱만 해당] |
지원되는 최소 서버 |
Windows Server 2008 R2 [데스크톱 앱만 해당] |