RibbonApplicationMenu.AuxiliaryPaneContent プロパティ
ユーザー補助アプリケーションのメニュー ウィンドウの内容を取得または設定します。
名前空間: Microsoft.Windows.Controls.Ribbon
アセンブリ: RibbonControlsLibrary (RibbonControlsLibrary.dll 内)
構文
'宣言
Public Property AuxiliaryPaneContent As Object
Get
Set
public Object AuxiliaryPaneContent { get; set; }
public:
property Object^ AuxiliaryPaneContent {
Object^ get ();
void set (Object^ value);
}
member AuxiliaryPaneContent : Object with get, set
function get AuxiliaryPaneContent () : Object
function set AuxiliaryPaneContent (value : Object)
プロパティ値
型: System.Object
ユーザー補助アプリケーションのメニュー ウィンドウの内容。登録済みの既定値は nullnull 参照 (Visual Basic では Nothing) です。この値が何に影響されるかの詳細については、依存関係プロパティ値の優先順位 のトピックを参照してください。
依存プロパティ情報
識別子フィールド |
|
true に設定されたメタデータのプロパティ |
[なし] |
解説
アプリケーション メニューには、追加のコンテンツをホストできるユーザー補助ウィンドウがあります。 AuxiliaryPaneContent プロパティは RibbonGallery をホストし、通常、最近使用したドキュメントの一覧を表示するために使用されます。
次の図は、リボン コントロールのアプリケーション メニューを示しています。 ユーザー補助ウィンドウは、最近使ったドキュメントの一覧をホストします。
例
次の例は、前に説明したアプリケーション メニューの補助ウィンドウのコンテンツを示しています。
<ribbon:RibbonApplicationMenu.AuxiliaryPaneContent>
<ribbon:RibbonGallery CanUserFilter="False"
ScrollViewer.VerticalScrollBarVisibility="Auto">
<ribbon:RibbonGalleryCategory Header="Recent Documents"
Background="Transparent"
ItemsSource="{DynamicResource MostRecentFiles}">
<ribbon:RibbonGalleryCategory.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel Orientation="Vertical" IsItemsHost="True"/>
</ItemsPanelTemplate>
</ribbon:RibbonGalleryCategory.ItemsPanel>
</ribbon:RibbonGalleryCategory>
</ribbon:RibbonGallery>
</ribbon:RibbonApplicationMenu.AuxiliaryPaneContent>
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。