x:Static Markup Extension

http://msdn.microsoft.com//library/ms742135(v=vs.110).aspx

The code entity that is referenced must be one of the following:
  • A constant
  • A static property
  • A field
  • An enumeration value
를 xaml에서 참조할 수 있다.

eg) CommandParameter="{x:Static enum:RecordCommandEnum.ImageCompare}"

댓글

이 블로그의 인기 게시물

Oracle NLS_DATE_FORMAT 변경

Stop console process using Ctrl+C.

Alternative to IValueConvert, QuickConverter