Is data binding a feature of XAML? The Silverlight CLR? the C# language?
I'm learning Silverlight and am trying to ingest some new concepts. Just so I understand, is the data binding 开发者_高级运维feature found in Silverlight part of Silverlight itself? Or is part of the underlying .NET framework itself?
It is part of the Silverlight runtime (which includes the Silverlight version of the CLR). You can set up bindings without using XAML (see BindingOperations.SetBinding) and you can set up bindings in Visual Basic or any other language that targets Silverlight and can call the SetBinding API.
精彩评论