mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-09 16:06:09 +02:00
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]>
This commit is contained in:
co-authored by
Tom Dykstra
parent
dd902d2e9c
commit
3885aab154
+7
@@ -0,0 +1,7 @@
|
||||
Class MainWindow
|
||||
Public Sub Method1()
|
||||
'<EnumGetValues>
|
||||
Dim enumValues = System.Enum.GetValues(GetType(System.Windows.HorizontalAlignment))
|
||||
'</EnumGetValues>
|
||||
End Sub
|
||||
End Class
|
||||
Reference in New Issue
Block a user