<local:MyEnvelope XMin="{Binding xmin}" .../>
public class MyEnvelope : INotifyPropertyChanged { private Envelope envelope; private Envelope Envelope { get { if (envelope == null) envelope = new Envelope(); return envelope; } } public double XMin { get { return Envelope.XMin; } set { if (Envelope.XMin != value) { Envelope.XMin = value; OnPropertyChanged("XMin"); } } } //more code public event PropertyChangedEventHandler PropertyChanged; private void OnPropertyChanged(string property) { if (PropertyChanged != null) PropertyChanged(this, new PropertyChangedEventArgs(property)); } }
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.