예제 #1
0
        public static void SetBorderSelectionStyles(this ImageButton retButton)
        {
            // No disabled image treatment as of yet

            retButton.DeselectedButtonStyle = ImageButton.CreateViewButtonStyle(Color.Transparent);
            retButton.SelectedButtonStyle   =
                ImageButton.CreateViewButtonStyle(Color.Transparent, SELECTED_IMAGE_BUTTON_BORDER_WIDTH);
            retButton.DisabledButtonStyle = ImageButton.CreateViewButtonStyle(Color.Transparent);
        }