Пример #1
0
        protected virtual void OnChanged()
        {
            if (Text == null || Icon == null)
            {
                return;
            }

            textNode.Text    = Text;
            imageNode.Source = MediaConverter.ImageSourceFromBitmap(MediaConverter.GetBitmapByName(Icon));
        }