replacing the private variable of public members with dependancy properties
Public StatusProperty As DependencyProperty = _
DependencyProperty.RegisterAttached(”Status”, GetType(String), GetType(Window))
Property Status() As String
Get
Return GetValue(StatusProperty)
End Get
Set(ByVal value As String)
SetValue(StatusProperty, value)
End Set
End Property
Tags: vb, WPF, XAML
This entry was posted
on Thursday, April 24th, 2008 at 4:40 pm and is filed under Programming.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.