Ejemplo n.º 1
0
        public DXMenuLegendDirection(ChartControl chartControl, Image image)
            : base(chartControl, Strings.Legend.direction, image)
        {
            DXCheckItem item = new DXCheckItem(LegendDirection.TopToBottom, Strings.LegendDirection.topToBottom, this.chartControl);

            Items.Add(item);

            item = new DXCheckItem(LegendDirection.BottomToTop, Strings.LegendDirection.bottomToTop, this.chartControl);
            Items.Add(item);

            item = new DXCheckItem(LegendDirection.LeftToRight, Strings.LegendDirection.leftToRight, this.chartControl);
            Items.Add(item);

            item = new DXCheckItem(LegendDirection.RightToLeft, Strings.LegendDirection.rigthToLeft, this.chartControl);
            Items.Add(item);
        }
Ejemplo n.º 2
0
        public DXMenuLegendAlignmentVertical(ChartControl chartControl, Image image)
            : base(chartControl, Strings.Legend.alignmentVertical, image)
        {
            DXCheckItem item = new DXCheckItem(LegendAlignmentVertical.TopOutside, Strings.LegendAlignmentVertical.topOutside, this.chartControl);

            Items.Add(item);

            item = new DXCheckItem(LegendAlignmentVertical.Top, Strings.LegendAlignmentVertical.top, this.chartControl);
            Items.Add(item);

            item = new DXCheckItem(LegendAlignmentVertical.Center, Strings.LegendAlignmentVertical.center, this.chartControl);
            Items.Add(item);

            item = new DXCheckItem(LegendAlignmentVertical.Bottom, Strings.LegendAlignmentVertical.bottom, this.chartControl);
            Items.Add(item);

            item = new DXCheckItem(LegendAlignmentVertical.BottomOutside, Strings.LegendAlignmentVertical.bottomOutside, this.chartControl);
            Items.Add(item);
        }
Ejemplo n.º 3
0
        public DXMenuLegendAlignmentHorizontal(ChartControl chartControl, Image image)
            : base(chartControl, Strings.Legend.alignmentHorizontal, image)
        {
            DXCheckItem item = new DXCheckItem(LegendAlignmentHorizontal.LeftOutside, Strings.LegendAlignmentHorizontal.leftOutside, this.chartControl);

            Items.Add(item);

            item = new DXCheckItem(LegendAlignmentHorizontal.Left, Strings.LegendAlignmentHorizontal.left, this.chartControl);
            Items.Add(item);

            item = new DXCheckItem(LegendAlignmentHorizontal.Center, Strings.LegendAlignmentHorizontal.center, this.chartControl);
            Items.Add(item);

            item = new DXCheckItem(LegendAlignmentHorizontal.Right, Strings.LegendAlignmentHorizontal.rigth, this.chartControl);
            Items.Add(item);

            item = new DXCheckItem(LegendAlignmentHorizontal.RightOutside, Strings.LegendAlignmentHorizontal.rightOutside, this.chartControl);
            Items.Add(item);
        }