Ejemplo n.º 1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="control"></param>
        /// <param name="properties"></param>
        static void BuildVisibleLayersListProperty(MgControlBase control, Dictionary <string, DesignerPropertyInfo> properties)
        {
            MgArrayList value = control.GetTabControlChoiceLayerList();

            properties.Add(Constants.WinPropVisibleLayerList, new DesignerPropertyInfo()
            {
                VisibleInPropertyGrid = false,
                Value            = value,
                IsDefaultValue   = false,
                IsNativeProperty = false,
            });
        }