XCore.PaneBar.OnPropertyChanged C# (CSharp) Method

OnPropertyChanged() public method

XCore will call us whenever a property has changed.
public OnPropertyChanged ( string name ) : void
name string
return void
		public void OnPropertyChanged(string name)
		{
			//decide if something we are showing is affected by this property
			//foreach(PanelButton panel in m_propertiesToWatch)
			foreach(DictionaryEntry e in m_propertiesToWatch)
			{
				PanelButton panel = e.Value as PanelButton;
				if (panel.IsRelatedProperty(name))
				{
					panel.UpdateDisplay();
				}
			}
		}