C# Prism WPF 公式サンプル（.NET Core版）を動かしてみる

[Prism の公式サンプル](https://github.com/PrismLibrary/Prism-Samples-Wpf) を動かしてみました。
ソースを見ただけではイメージが付きにくいので画面をキャプションしておきます。

##動作させた環境
Windows 10
Microsoft Visual Studio Community 2019

##01-BootstrapperShell
#####基本的なブートストラップとシェルを作成する
Topic : Bootstrapper and the Shell
Description : Create a basic bootstrapper and shell

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/26829089-145b-42ef-f114-5ef5b379a65e.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/57dd994a-755e-2a57-f10e-b267f4a9b211.png)

##02-Regions
#####リージョンを作成する
Topic : Regions
Description : Create a region
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/54d2067b-5234-5dd6-028f-d5e53f790f88.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/2cd7dfb1-aea8-93a1-6d30-14ad5e6ec570.png)

##03-CustomRegions
#####StackPanelのカスタムリージョンアダプターを作成する
Topic : Custom Region Adapter
Description : Create a custom region adapter for the StackPanel

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/84fd491d-32d2-9efb-aba7-f0190334cd21.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/56b38a70-4255-b4bd-f992-53ddf8d8682c.png)

##04-ViewDiscovery
#####View Discoveryでビューを自動的に注入する
Topic : View Discovery
Description : Automatically inject views with View Discovery

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/c28886e1-8104-3020-2385-f10a6d2a24ce.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/0dfaba73-8c58-ec6b-ee69-9b6f596f3f33.png)

##05-ViewInjection
#####ビューインジェクションを使用して手動でビューを追加および削除する
Topic : View Injection
Description : Manually add and remove views using View Injection

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/0c094e18-cd4f-3070-4de9-be64d5808ca2.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/d7bd8fb0-4a3a-43c0-7b29-918fd6c6fc1a.png)

[Add View]ボタンをクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/81f27e39-68dd-6048-1755-5af5b5205406.png)

##06-ViewActivationDeactivation
#####ビューを手動でアクティブ化および非アクティブ化する
Topic : View Activation/Deactivation
Description : Manually activate and deactivate views

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/8551d678-9848-cede-e38a-cc7ed208d384.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/bb2a49aa-8847-2b69-7c32-7c7c91d7f756.png)

[Diactivate ViewA]ボタンをクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/e0e6f2e5-0854-b4e7-e823-40126ec7a157.png)

[Activate ViewB]ボタンをクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/65dd63a5-9a95-0cfd-ba65-e7424a5e6a16.png)

[Diactivate ViewB]ボタンをクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/b2d4ebef-3f88-abda-e3a7-672cb101e103.png)

##07-Modules - AppConfig
#####App.configファイルを使用してモジュールをロードする
Topic : Modules with App.config
Description : Load modules using an App.config file

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/e9ef99d8-f19f-d6d8-cebb-1f22627daeee.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/0f6d5f3f-9fb4-f546-d896-67650739f8e6.png)

##07-Modules - Code
#####コードを使用してモジュールをロードする
Topic : Modules with Code
Description : Load modules using code

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/66610e18-2d31-ba91-34d3-f37405bffd14.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/e5dde503-2dfc-4dd5-713e-eca87fc5a000.png)

##07-Modules - Directory
#####ディレクトリからモジュールをロードする
Topic : Modules with Directory
Description : Load modules from a directory

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/5f15e269-a758-19ed-d639-8e9448608061.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/d27b9127-93d7-313a-9ae0-37e8bed55952.png)

##07-Modules - LoadManual
#####IModuleManagerを使用して手動でモジュールを読み込む
Topic : Modules loaded manually
Description : Load modules manually using the IModuleManager

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/bd255708-3c79-193d-d29e-27cde57893bb.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/d6ffd175-d952-6b6b-efd5-d4af63849ae2.png)

[Load Module]ボタンをクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/54b99bb3-6504-66fa-9a4d-8f1b26b23375.png)

##08-ViewModelLocator
#####ViewModelLocatorの使用
Topic : ViewModelLocator

Description : using the ViewModelLocator
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/e391009c-b601-333c-7cac-d89ef00c12cb.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/c0b65839-c532-46a4-10c3-d30ecafc7573.png)

##09-ChangeConvention
#####ViewModelLocatorの命名規則を変更する
Topic : ViewModelLocator - Change Convention
Description : Change the ViewModelLocator naming conventions

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/051ebde0-2984-718e-c5ce-a7b15587744f.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/c74e3c97-3acb-5263-3a9e-6792abed7ce6.png)

##10-CustomRegistrations
#####特定のビューのViewModelを手動で登録する
Topic : ViewModelLocator - Custom Registrations
Description : Manually register ViewModels for specific views

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/3e5752ab-25b9-d09b-9e3e-13937b05697a.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/b6ae2d4a-820d-46ba-576e-dda49387ea5d.png)

##11-UsingDelegateCommands
#####DelegateCommandおよびDelegateCommand <T>を使用する
Topic : DelegateCommand
Description : Use DelegateCommand and DelegateCommand<T>

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/f30ebf69-041f-9ddf-bfa4-d22b95e34164.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/bc5368c5-a20b-807c-88e4-4051561f7c65.png)

[Can Execute Command]をチェックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/308f3f92-5914-535d-87d2-4f6aa47af633.png)

##12-UsingCompositeCommands
#####CompositeCommandsを使用して複数のコマンドを単一のコマンドとして呼び出す方法を学ぶ
Topic : CompositeCommands
Description : Learn how to use CompositeCommands to invoke multiple commands as a single command

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/5ab555c5-04e1-47b8-4136-87a5d062500b.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/b55dce50-67ac-6a1c-bac6-be797e55b5ca.png)

[Can Execute]のチェックを解除すると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/f080db21-2bba-af87-e19c-2c2949911047.png)

[Tab B]を選択すると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/02b104ca-d267-199f-130a-1631ffcd0ce7.png)

##13-IActiveAwareCommands
#####コマンドをアクティブにして、アクティブなコマンドのみを呼び出す
Topic : IActiveAware Commands
Description : Make your commands IActiveAware to invoke only the active command

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/0ed013c9-831a-1023-d4e8-a5b57e21f0b5.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/848c5ee0-74ce-ab9e-a3da-b69b2d3560c3.png)

[Can Execute]のチェックを解除すると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/8af92bad-2588-a1dc-77de-b01c64869895.png)

[Tab B]を選択すると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/d6acd732-85be-5f36-80d1-c3854248a252.png)


##14-UsingEventAggregator
#####IEventAggregatorの使用
Topic : Event Aggregator
Description : Using the IEventAggregator

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/74750563-674f-0ebc-4ae8-573439ccb185.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/76ab6e78-5a9e-6e3a-2285-b48e2134e01e.png)

[Send Message]ボタンをクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/e7344dd1-5d5b-d1cc-9f52-4695b984ee35.png)

##15-FilteringEvents
#####イベントをサブスクライブするときのイベントのフィルタリング
Topic : Event Aggregator - Filter Events
Description : Filtering events when subscribing to events

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/1073c624-a40f-f86e-d42b-3ba957554924.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/ebd9216e-cca5-a205-7043-43d948186ca5.png)

[Send Message]ボタンをクリックしても変化は認められない

##16-RegionContext
#####RegionContextを使用してネストされた領域にデータを渡す
Topic : RegionContext
Description : Pass data to nested regions using the RegionContext

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/d030883d-f5c0-507f-0201-f033b8f637b2.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/cef2a615-c78c-27cb-9411-5391498b1283.png)

ListBox の行を選択すると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/f0419883-cb4f-4055-8b25-5c50428ef2d3.png)


##17-BasicRegionNavigation
#####基本的なリージョンナビゲーションの実装方法を見る
Topic : Region Navigation
Description : See how to implement basic region navigation

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/cf7202d9-b616-2747-4930-114adb62cc5b.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/c6a7a3d9-a83f-9a40-23f9-2b68d0b9facb.png)

[Navigate to View A]ボタンをクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/808a63fa-a1fa-00e2-4c74-9b7c750837c5.png)

[Navigate to View B]ボタンをクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/aee35561-8172-d03f-c6a5-62e174b64838.png)

##18-NavigationCallback
#####ナビゲーションが完了したときに通知を受け取る
Topic : Navigation Callback
Description : 	Get notifications when navigation has completed

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/86e4dc6c-a61b-a036-62df-aea92d13672d.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/74c41dd7-6314-7d2d-50bc-d16063a26ada.png)

[Navigate to View A]ボタンをクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/d083776f-c300-0c7e-4938-78d7992fa57c.png)

[Navigate to View B]ボタンをクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/6374bf82-3721-6988-78a8-2d360ce24a42.png)

##19-NavigationParticipation
#####INavigationAwareによるViewおよびViewModelナビゲーションへの参加について学ぶ
Topic : Navigation Participation
Description : Learn about View and ViewModel navigation participation with INavigationAware

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/4d3443ab-615b-4a97-121d-c6e8eebcf635.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/17ae5526-4b13-fc38-f373-a8cbcc99c632.png)

[Navigate to View A]ボタンをクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/272fc132-8cb0-d5c0-0080-4e99e7938f11.png)

もう一度[Navigate to View A]ボタンをクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/a1b4736b-d906-65bd-dc8d-47b2e826e199.png)

[Navigate to View B]ボタンをクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/bee46f11-7a03-4a90-c7b3-cdbe0e0c24b1.png)

##20-NavigateToExistingViews
#####ナビゲーション中にビューインスタンスを制御する
Topic : Navigate to existing Views
Description : Control view instances during navigation

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/ca1d856f-26ac-d47c-d32b-991d86a7bf58.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/982b2fd7-105e-fd89-d222-ec119a7e6f16.png)

[Navigate to View A]ボタンをクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/9f83a377-1eb2-3fab-73a7-60354d3aa19c.png)

もう一度[Navigate to View A]ボタンをクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/5cde9d54-d041-74f5-5bcd-e8d3a89d14b3.png)

[Navigate to View B]ボタンをクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/26a62059-2b4b-8661-1b60-c691ec6da697.png)

##21-PassingParameters
#####View / ViewModelから別のView / ViewModelにパラメーターを渡す
Topic : Passing Parameters
Description : Pass parameters from View/ViewModel to another View/ViewModel

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/7940eb38-cbe8-7bb3-ebc8-e0894a90f310.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/c43db98c-059a-2b8e-dc54-bb14a5bd43c0.png)

ListBox の行を選択すると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/9de64208-8121-e5d6-e026-9d817844e2e7.png)

ListBox の別の行を選択すると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/762aabd7-4f55-e870-7cfc-0dff587c1787.png)

##22-ConfirmCancelNavigation
#####インターフェイスを使用してナビゲーションを確認またはキャンセルする
Topic : Confirm/cancel Navigation
Description : 	Use the IConfirmNavigationReqest interface to confirm or cancel navigation

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/5063394d-3280-f606-5b6b-d5fbc8470b79.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/442d7614-7754-0c28-da62-8664ad9bc98b.png)

[Navigate to View A]ボタンをクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/794f864c-26d1-5474-9d44-ccee40224b5e.png)

[Navigate to View B]ボタンをクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/51e201e2-f015-a28c-a2ce-32be0b5d7bc0.png)

[はい]をクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/5d1067f6-2131-3d73-780a-9cc896c480e8.png)

##23-RegionMemberLifetime
#####IRegionMemberLifetimeでメモリからビューを自動的に削除する
Topic : Controlling View lifetime
Description : Automatically remove views from memory with IRegionMemberLifetime

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/a9e5fd0f-a32e-dff9-920a-97d8bf72b8d3.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/fb995e2f-22f8-7ff1-5e49-b07e0fee858e.png)

[Navigate to View A]ボタンをクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/1b7674d2-98bc-e25e-b427-8d75a051fbbe.png)

[Navigate to View B]ボタンをクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/ac56de03-0393-dde1-a77e-01d8a8caa580.png)

##24-NavigationJournal
#####ナビゲーションジャーナルの使用方法を学ぶ
Topic : Navigation Journal
Description : Learn how to use the Navigation Journal

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/0aa7ea9e-e07b-ebec-d9ec-4152b36d2070.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/7356a6a4-2203-a458-c5ab-95e5155cbdb9.png)

ListBox の行を選択すると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/5357a69d-3299-0fa8-242e-e489b71a1f73.png)

[Go Back]ボタンをクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/a4aa9bdf-718f-919d-86f1-c813ca076641.png)

##25-NotificationRequest
#####InteractionRequestを使用してポップアップを表示する方法を学ぶ
Topic : Interactivity - NotificationRequest
Description : Learn how to show popups using an InteractionRequest

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/d2acd7b3-23d8-6f93-16f4-93ca0562f1a9.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/07ab4a8e-9429-4d20-cfce-9658e09412db.png)

[Raise Default Notification]ボタンをクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/fd93867d-60bc-90b5-7bf4-0356673aaf3d.png)

[OK]をクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/74cae28e-8c91-a684-b46f-e7af154dac08.png)

##26-ConfirmationRequest
#####ConfirmationRequestを使用して確認ダイアログを表示する方法を学ぶ
Topic : Interactivity - ConfirmationRequest
Description : Learn how to prompt a confirmation dialog using a ConfirmationRequest

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/1093b926-dc98-1f89-76d2-f72c4e364f26.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/8dd585ce-6284-d275-9f26-6da2e7e777c9.png)

[Raise Default Notification]ボタンをクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/f94b4d5b-255b-1f8f-b6e8-cefd54cd5171.png)

[OK]をクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/4406dc34-cfd4-4575-ef67-7067b8d6c6dd.png)

[Raise Default Confirmation]ボタンをクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/06209e44-8d0d-fdb5-5c76-9343e80bbe20.png)

[OK]をクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/555b163a-35be-0698-9a60-95816b3d702a.png)

##27-CustomContent
#####InteractionRequestで表示されるダイアログに独自のコンテンツを使用する方法を学ぶ
Topic : Interactivity - Custom Content
Description : Learn how to use your own content for a dialog shown with InteractionRequest

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/fae7a092-68bb-7286-841e-ef26cfbc8197.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/f2c80688-1d00-fd49-0b3e-5b842dda4f84.png)

[Raise Default Notification]ボタンをクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/9d4d5827-cee1-1538-add3-fa80ad2c0f7a.png)

[OK]をクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/56e75c0b-bb05-6330-1717-8fb502dd3c70.png)

[Raise Default Confirmation]ボタンをクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/19ca62cb-f073-e845-b575-ba1f748e2c3e.png)

[OK]をクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/5641eaa2-d60c-e079-7739-d156f4264acc.png)

[Raise Custom Popup]ボタンをクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/48186224-541b-f79e-84b3-ecc01f10b7da.png)

[Accept]をクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/2bbf18fe-bd2f-8dfd-cc8c-4fe7a8a35ed3.png)

##28-CustomRequest
#####InteractionRequestで使用する独自のカスタムリクエストを作成する
Topic : Interactivity - Custom Request
Description : Create your own custom request to use with an InteractionRequest

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/887bb998-a63a-2538-c5fc-f0ae259eca5c.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/de0cc385-11c8-7b78-c9b8-1108f2707b30.png)

[Raise Default Notification]ボタンをクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/ce3a35ac-03f9-1d45-cf13-60faad4eb8c3.png)

[OK]をクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/e5421c3c-ef89-f06f-9e3c-2632d9cc9438.png)

[Raise Default Confirmation]ボタンをクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/746cd1e9-3216-587f-b2cc-2fedb1ec65e5.png)

[OK]をクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/4c1527f1-9ea5-ea8b-3214-91bad84bdce5.png)

[Raise Custom Popup]ボタンをクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/14110ec9-49f1-cdca-bb9e-cd46bba94c27.png)

[Accept]をクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/0affa12d-a323-3b2f-9864-fe3d72837f22.png)

[Raise Custom Interaction]ボタンをクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/8fe38c98-06d2-99b0-3ef6-352ce2be13a9.png)

ListBox から Item を選択して [Select Item]ボタンをクリックすると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/3b3e58e8-606d-d978-fb68-8a9cca86d239.png)

##29-InvokeCommandAction
#####任意のイベントに応答してコマンドを呼び出す
Topic : Interactivity - InvokeCommandAction
Description : Invoke commands in response to any event

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/98c34f29-e8ca-c263-2af4-f6987ed9dac3.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/40335c41-580c-5663-bf5e-3717ec75d64a.png)

ListBoxから行を選択すると
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/225878/d59c96b9-37fc-5b41-ea0f-1b8bf16aa1f4.png)