XamlName 문법XamlName Grammar
XamlName Grammar은 편의를 위해 여기에서 재현 되는 XAML 언어 사양 [MS XAML]에 정의 된 특정 문법입니다.XamlName Grammar is a specific grammar that is defined in the XAML language specification [MS-XAML], which is reproduced here for convenience.
XAML 사양에서From the XAML Specification
[XamlName] 사양은 문법 검사를 정의 하 여 형식 및 속성에 사용 되는 유효한 기호화 된 식별자 집합을 식별 합니다.The [MS-XAML] specification defines the grammar XamlName to identify the set of legal symbolic identifiers used for types and properties.
XamlName 형식의 문자열 값은 다음 문법을 준수 해야 합니다.String values that are of type XamlName must conform to the following grammar:
XamlName ::= NameStartChar ( NameChar )*
NameStartChar ::= LetterCharacter | '_'
NameChar ::= NameStartChar | DecimalDigit | CombiningCharacter
LetterCharacter ::= UnicodeLu | UnicodeLl | UnicodeLo | UnicodeLt | UnicodeNl
DecimalDigit ::= UnicodeNd
CombiningCharacter ::= UnicodeMn | UnicodeMc
유니코드 문자 데이터베이스에 정의 된 다음과 같은 일반 범주 값을 가정 합니다.Which assumes the following general category values as defined in the Unicode Character Database
유니코드 범주Unicode category | DescriptionDescription |
---|---|
루어Lu | 문자, 대문자Letter, Uppercase |
LlLl | 문자, 소문자Letter, Lowercase |
LtLt | 문자, 제목 스타일Letter, Titlecase |
LmLm | 문자, 한정자Letter, Modifier |
LoLo | 문자, 기타Letter, Other |
MnMn | 표시, 공백 없음Mark, Non-Spacing |
McMc | 표시, 공백 조합Mark, Spacing Combining |
NdNd | 숫자, 10 진수Number, Decimal |
NlNl | 숫자, 문자Number, Letter |
XAML은 속성 및 이벤트 정규화 된 참조와 연결 된 멤버에 사용 되는 두 번째 문법 인 DottedXamlName를 정의 합니다.XAML defines a second grammar, DottedXamlName, that is used for property and event qualified references, and also for attached members. 자세한 내용은 DependencyProperty 및 XAML 개요 (WPF)를 참조 하세요.For more information, see DependencyProperty and XAML Overview (WPF).
DottedXamlName 형식의 문자열 값은 다음 문법을 준수 해야 합니다.String values that are of type DottedXamlName must conform to the following grammar:
DottedXamlName ::= XamlName '.' XamlName
설명Remarks
전체 사양은 [ MS-XAML ] 을 참조 하세요.For the complete specification, see [MS-XAML].