protected virtual void OnChanged() { if (Text == null || Icon == null) { return; } textNode.Text = Text; imageNode.Source = MediaConverter.ImageSourceFromBitmap(MediaConverter.GetBitmapByName(Icon)); }