매우 실용적인 XAML 정의
XAML(short for Extensible Application Markup) is
a markup language used to instantiate .NET objects.
오~~~. 이 얼마나 깔끔한 설명인가.
You need to understand rules:
a markup language used to instantiate .NET objects.
오~~~. 이 얼마나 깔끔한 설명인가.
You need to understand rules:
- Every element in a XAML document maps to an instance of a .NET class. The name of the element matches the name of the class exactly. For example, the element <Button instructs WPF to create a Button object.
- As with any XML document, you can nest one element inside another. As you’ll see, XAML gives every class the flexibility to decide how it handles this situation. However, nesting is usually a way to express containment—in other words, if you find a Button element inside a Grid element, your user interface probably includes a grid that contains a button inside.
- You can set the properties of each class through attributes. However, in some situations, an attribute isn’t powerful enough to handle the job. In these cases, you’ll use nested tags with a special syntax.
댓글
댓글 쓰기