Containers

네임스페이스 Going.UI.Containers — 자식 컨트롤을 포함하는 레이아웃 컨테이너

public interface IGoContainer
컨테이너 인터페이스. 자식 컨트롤 목록과 패널 영역을 정의합니다.
Properties
IEnumerable<IGoControl>Childrens get자식 컨트롤 목록
SKRectBounds get set컨테이너 전체 영역
SKRectPanelBounds get자식 컨트롤이 배치되는 내부 영역
SKPointViewPosition get스크롤 뷰 오프셋

public abstract class GoContainer : GoControl, IGoContainer
모든 컨테이너의 추상 기반 클래스. Dock/Margin 기반 레이아웃 처리를 포함합니다.
Properties
IEnumerable<IGoControl>Childrens get자식 컨트롤 목록 (override 가능)
SKRectPanelBounds get기본: Content 영역 전체
SKPointViewPosition get기본: (0, 0)
상속된 GoControl 기본 속성
Id, Name, Visible, Enabled, Bounds, X, Y, Width, Height, Dock, Margin, Parent, Design — GoControl 참고

public class GoBoxPanel : GoContainer
단순 배경 박스 컨테이너. 테두리와 배경색만 그립니다.
Properties
List<IGoControl>Childrens get자식 컨트롤 목록
stringBorderColor get set테두리 색상. 기본값: "Base3"
stringBoxColor get set배경 색상. 기본값: "Base2"
GoRoundTypeRound get set모서리 스타일. 기본값: All
boolBackgroundDraw get set배경 그리기 여부. 기본값: true
floatBorderSize get set테두리 두께. 기본값: 1

public class GoGroupBox : GoContainer
그룹 박스 컨테이너. 타이틀이 테두리 선에 겹쳐지는 WinForms 스타일의 그룹 박스입니다.
Properties
string?IconString get set타이틀 아이콘 문자열
floatIconSize / IconGap get set아이콘 크기/간격. 기본값: 12, 5
stringText get set그룹 타이틀 텍스트
stringFontName / FontStyle / FontSize get set타이틀 폰트 설정
stringTextColor get set타이틀 색상. 기본값: "Fore"
stringBorderColor get set테두리 색상. 기본값: "Base3"
GoRoundTypeRound get set모서리 스타일
List<GoButtonItem>Buttons get set타이틀 우측 버튼 목록
float?ButtonWidth get set버튼 영역 전체 너비
floatBorderWidth get set테두리 두께. 기본값: 1
List<IGoControl>Childrens get자식 컨트롤 목록
Events
EventHandler<ButtonClickEventArgs>ButtonClicked타이틀 버튼 클릭 시. ButtonClickEventArgs.Button: 클릭된 GoButtonItem

public class GoPanel : GoContainer
패널 컨테이너. 타이틀 헤더 + 콘텐츠 영역 구조의 카드형 컨테이너입니다.
Properties
string?IconString get set타이틀 아이콘 문자열
floatIconSize / IconGap get set아이콘 크기/간격. 기본값: 12, 5
stringText get set패널 타이틀 텍스트
stringFontName / FontStyle / FontSize get set타이틀 폰트 설정
stringTextColor get set타이틀 텍스트 색상. 기본값: "Fore"
stringPanelColor get set패널 배경 색상. 기본값: "Base2"
GoRoundTypeRound get set모서리 스타일
boolBackgroundDraw get set배경 그리기 여부. 기본값: true
boolBorderOnly get set테두리만 그리기 여부. 기본값: false
floatTitleHeight get set타이틀 영역 높이. 기본값: 40
List<GoButtonItem>Buttons get set타이틀 우측 버튼 목록
float?ButtonWidth get set버튼 영역 전체 너비
List<IGoControl>Childrens get콘텐츠 영역 자식 컨트롤 목록
Events
EventHandler<ButtonClickEventArgs>ButtonClicked타이틀 버튼 클릭 시

public class GoScrollablePanel : GoContainer
스크롤 가능한 컨테이너. 수직/수평 스크롤바를 자동으로 표시하고 콘텐츠 영역을 스크롤합니다.
Properties
float?BaseWidth get set콘텐츠 기준 너비. null이면 컨테이너 너비와 동일
float?EditorHeight get set에디터 모드 시 강제 세로 크기 (디자인 뷰용)
List<IGoControl>Childrens get자식 컨트롤 목록
SKPointViewPosition get현재 스크롤 오프셋 (-scrollPos)

public class GoSwitchPanel : GoContainer
전환 패널. 여러 서브페이지(GoSubPage) 중 선택된 하나만 표시합니다.
Properties
List<GoSubPage>Pages get set서브 페이지 목록
GoSubPage?SelectedPage get set현재 선택된 서브 페이지
Methods
voidSetPage(string name)이름으로 서브 페이지 전환
Events
EventHandlerPageChanged페이지 전환 완료 시
EventHandler<CancelEventArgs>PageChanging페이지 전환 전. Cancel = true로 취소 가능
GoSubPage
stringName get set서브 페이지 이름
List<IGoControl>Childrens get이 서브 페이지의 자식 컨트롤 목록

public class GoTabControl : GoContainer
탭 컨트롤. 탭 헤더 위치(Up/Down/Left/Right)를 선택할 수 있으며 GoTabPage별로 컨트롤을 분리합니다.
Properties
GoDirectionHVIconDirection get set탭 아이콘 방향. 기본값: Horizon
floatIconSize / IconGap get set아이콘 크기/간격. 기본값: 12, 5
stringFontName / FontStyle / FontSize get set탭 텍스트 폰트
stringTextColor get set탭 텍스트 색상. 기본값: "Fore"
stringTabColor get set탭/페이지 배경 색상. 기본값: "Base2"
stringTabBorderColor get set탭 테두리 색상. 기본값: "Base3"
GoDirectionTabPosition get set탭 헤더 위치 (Up/Down/Left/Right). 기본값: Up
floatNavSize get set탭 헤더 영역 크기(높이 또는 너비). 기본값: 40
GoTabPage?SelectedTab get set현재 선택된 탭 페이지
List<GoTabPage>TabPages get set탭 페이지 목록
Methods
voidSetTab(string name)이름으로 탭 전환
Events
EventHandlerTabChanged탭 전환 완료 시
EventHandler<CancelEventArgs>TabChanging탭 전환 전. Cancel = true로 취소 가능
GoTabPage
stringName get set탭 페이지 이름
string?IconString get set탭 헤더 아이콘
string?Text get set탭 헤더 텍스트
List<IGoControl>Childrens get이 탭 페이지의 자식 컨트롤 목록

public class GoTableLayoutPanel : GoContainer
테이블 레이아웃 컨테이너. Columns와 Rows에 크기 문자열("100%", "50px", "30%")을 지정하여 격자를 구성합니다.
Properties
List<string>Columns get set열 크기 목록. 예: ["50%", "50%"] 또는 ["100px", "100%"]
List<string>Rows get set행 크기 목록
GoTableLayoutControlCollectionChildrens get자식 컨트롤 컬렉션 (컬럼/행 인덱스 포함)
GoTableLayoutControlCollection
voidAdd(IGoControl control, int col, int row, int colspan = 1, int rowspan = 1)컨트롤을 지정된 격자 위치에 추가. colspan/rowspan으로 병합 가능
boolRemove(IGoControl control)컨트롤 제거
voidClear()모든 컨트롤 제거
boolContains(IGoControl control)컨트롤 포함 여부

public class GoGridLayoutPanel : GoContainer
가변 열 그리드 레이아웃 컨테이너. 각 행마다 다른 수의 열을 가질 수 있습니다.
Properties
List<GoGridLayoutPanelRow>Rows get set행 정의 목록. GoGridLayoutPanelRow: Height(string), Columns(List<string>)
GoGridLayoutControlCollectionChildrens get자식 컨트롤 컬렉션
Methods
voidAddRow(string height, string[] columns)행 추가. 예: AddRow("50px", ["50%", "50%"])
Dictionary<int, Dictionary<int, SKRect>>GridBounds()현재 그리드 각 셀의 SKRect 영역 반환
SKRect?CellBounds(Dictionary<int, Dictionary<int, SKRect>> rts, int col, int row)특정 셀 영역 반환
GoGridLayoutControlCollection
voidAdd(IGoControl control, int col, int row)컨트롤을 지정된 격자 위치에 추가
boolRemove(IGoControl control)컨트롤 제거
voidClear()모든 컨트롤 제거
boolContains(IGoControl control)컨트롤 포함 여부

public class GoScalePanel : GoContainer
스케일 패널. BaseWidth/BaseHeight 기준으로 자식 컨트롤을 자동 확대/축소합니다.
Properties
List<IGoControl>Childrens get자식 컨트롤 목록
int?BaseWidth get set기준 너비(px). null이면 실제 크기
int?BaseHeight get set기준 높이(px). null이면 실제 크기
GoContentAlignmentPanelAlignment get set패널 정렬. 기본값: MiddleCenter

public class GoPicturePanel : GoContainer
이미지 배경 패널. 배경 이미지 위에 자식 컨트롤을 배치합니다.
Properties
List<IGoControl>Childrens get자식 컨트롤 목록
string?Image get setGoDesign에 등록된 이미지 키
GoImageScaleModeScaleMode get set이미지 크기 조절 모드. 기본값: Real
GoRoundTypeRound get set모서리 스타일. 기본값: All
검색 결과가 없습니다.