Yes, you can. The following is the XAML approach. It is advisable to bind to the Observable collection if you want to automatically update the user interface when the value changes.
public class DataStub { public Array SomeNorthEasternStates { get { return new[] { "NH", "VT", "CT", "MA", "ME" }; } } }
XAML: Suppose the DataContext is set correctly:
<TextBox Margin="5" Text="{Binding SomeNorthEasternStates[3], Mode=Default}"/>
SKG
source share