Пример #1
0
        /// <summary>
        /// Initializes a new instance of the HubTileBase class.
        /// </summary>
        protected HubTileBase()
        {
            this.DefaultStyleKey = typeof(HubTileBase);
            HubTileService.Tiles.Add(this);

            this.updateTimer.Tick    += this.OnUpdateTimerTick;
            this.updateTimer.Interval = this.UpdateInterval;

            this.SizeChanged += this.OnSizeChanged;

            InteractionEffectManager.SetIsInteractionEnabled(this, true);
        }
Пример #2
0
        /// <summary>
        /// Initializes a new instance of the RadMosaicHubTile class.
        /// </summary>
        public RadMosaicHubTile()
        {
            this.DefaultStyleKey = typeof(RadMosaicHubTile);

            InteractionEffectManager.SetIsInteractionEnabled(this, false);
        }