public void Load() { self = this; InitDefine(); rt1.DisplayMemberPath = "Value"; rt1.SelectedValuePath = "Key"; rt2.DisplayMemberPath = "Value"; rt2.SelectedValuePath = "Key"; rt1.ItemsSource = DataDefine.TotemCategory; rt2.ItemsSource = DataDefine.TotemCategory; }
public void Load() { self = this; InitDefine(); rt1.ItemsSource = LegacyToolBox.Data.TotemCategory; rt2.ItemsSource = LegacyToolBox.Data.TotemCategory; rt1.DisplayMemberPath = "Name"; rt1.SelectedValuePath = "ID"; rt2.DisplayMemberPath = "Name"; rt2.SelectedValuePath = "ID"; rf.ItemsSource = LegacyToolBox.Data.SpellFocus; }