Files
docs-desktop/dotnet-desktop-guide/net/wpf/data/snippets/how-to-bind-to-an-enumeration/vb/MainWindow.xaml.vb
T
Andy (Steve) De GeorgeandTom Dykstra 3885aab154 Add how to bind enum article (#1056)
* add how to article

* Fix lint

* Fix the code example

* Add missing code

* Update how-to-bind-to-an-enumeration.md

* Update dotnet-desktop-guide/net/wpf/data/how-to-bind-to-an-enumeration.md

Co-authored-by: Tom Dykstra <[email protected]>

Co-authored-by: Tom Dykstra <[email protected]>
2021-05-06 08:03:42 -07:00

8 lines
210 B
VB.net

Class MainWindow
Public Sub Method1()
'<EnumGetValues>
Dim enumValues = System.Enum.GetValues(GetType(System.Windows.HorizontalAlignment))
'</EnumGetValues>
End Sub
End Class