예제 #1
0
        public StripedBar()
        {
            _positionInfo = new PositionOptions
            {
                Top    = new Location(available: true, selected: true),
                Right  = new Location(available: false, selected: false),
                Bottom = new Location(available: true, selected: false),
                Left   = new Location(available: false, selected: false)
            };

            Image        thumbnailImage = Resources.theme_solid;
            const string friendlyName   = "Striped Bar";

            _info = new BarInfo(thumbnailImage, friendlyName);
        }
예제 #2
0
        public StripedBar()
        {
            _positionInfo = new PositionOptions
            {
                Top = new Location(available: true, selected: true),
                Right = new Location(available: false, selected: false),
                Bottom = new Location(available: true, selected: false),
                Left = new Location(available: false, selected: false)
            };

            Image thumbnailImage = Resources.theme_solid;
            const string friendlyName = "Striped Bar";

            _info = new BarInfo(thumbnailImage, friendlyName);
        }
예제 #3
0
        public DottedBar()
        {
            Image        thumbnailImage = Resources.theme_dotted;
            const string friendlyName   = "Dotted Bar";

            _barInfo = new BarInfo(thumbnailImage, friendlyName);

            _positionOptions = new PositionOptions
            {
                Top    = new Location(available: true, selected: true),
                Right  = new Location(available: true, selected: false),
                Bottom = new Location(available: true, selected: false),
                Left   = new Location(available: true, selected: true)
            };
        }
예제 #4
0
        public DottedBar()
        {
            Image thumbnailImage = Resources.theme_dotted;
            const string friendlyName = "Dotted Bar";

            _barInfo = new BarInfo(thumbnailImage, friendlyName);

            _positionOptions = new PositionOptions
            {
                Top = new Location(available: true, selected: true),
                Right = new Location(available: true, selected: false),
                Bottom = new Location(available: true, selected: false),
                Left = new Location(available: true, selected: true)
            };
        }