コード例 #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);
        }