Containers
네임스페이스 Going.UI.Containers — 자식 컨트롤을 포함하는 레이아웃 컨테이너
public interface IGoContainer
컨테이너 인터페이스. 자식 컨트롤 목록과 패널 영역을 정의합니다.
Properties
| IEnumerable<IGoControl> | Childrens get | 자식 컨트롤 목록 |
| SKRect | Bounds get set | 컨테이너 전체 영역 |
| SKRect | PanelBounds get | 자식 컨트롤이 배치되는 내부 영역 |
| SKPoint | ViewPosition get | 스크롤 뷰 오프셋 |
public abstract class GoContainer : GoControl, IGoContainer
모든 컨테이너의 추상 기반 클래스. Dock/Margin 기반 레이아웃 처리를 포함합니다.
Properties
| IEnumerable<IGoControl> | Childrens get | 자식 컨트롤 목록 (override 가능) |
| SKRect | PanelBounds get | 기본: Content 영역 전체 |
| SKPoint | ViewPosition 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 | 자식 컨트롤 목록 |
| string | BorderColor get set | 테두리 색상. 기본값: "Base3" |
| string | BoxColor get set | 배경 색상. 기본값: "Base2" |
| GoRoundType | Round get set | 모서리 스타일. 기본값: All |
| bool | BackgroundDraw get set | 배경 그리기 여부. 기본값: true |
| float | BorderSize get set | 테두리 두께. 기본값: 1 |
public class GoGroupBox : GoContainer
그룹 박스 컨테이너. 타이틀이 테두리 선에 겹쳐지는 WinForms 스타일의 그룹 박스입니다.
Properties
| string? | IconString get set | 타이틀 아이콘 문자열 |
| float | IconSize / IconGap get set | 아이콘 크기/간격. 기본값: 12, 5 |
| string | Text get set | 그룹 타이틀 텍스트 |
| string | FontName / FontStyle / FontSize get set | 타이틀 폰트 설정 |
| string | TextColor get set | 타이틀 색상. 기본값: "Fore" |
| string | BorderColor get set | 테두리 색상. 기본값: "Base3" |
| GoRoundType | Round get set | 모서리 스타일 |
| List<GoButtonItem> | Buttons get set | 타이틀 우측 버튼 목록 |
| float? | ButtonWidth get set | 버튼 영역 전체 너비 |
| float | BorderWidth get set | 테두리 두께. 기본값: 1 |
| List<IGoControl> | Childrens get | 자식 컨트롤 목록 |
Events
| EventHandler<ButtonClickEventArgs> | ButtonClicked | 타이틀 버튼 클릭 시. ButtonClickEventArgs.Button: 클릭된 GoButtonItem |
public class GoPanel : GoContainer
패널 컨테이너. 타이틀 헤더 + 콘텐츠 영역 구조의 카드형 컨테이너입니다.
Properties
| string? | IconString get set | 타이틀 아이콘 문자열 |
| float | IconSize / IconGap get set | 아이콘 크기/간격. 기본값: 12, 5 |
| string | Text get set | 패널 타이틀 텍스트 |
| string | FontName / FontStyle / FontSize get set | 타이틀 폰트 설정 |
| string | TextColor get set | 타이틀 텍스트 색상. 기본값: "Fore" |
| string | PanelColor get set | 패널 배경 색상. 기본값: "Base2" |
| GoRoundType | Round get set | 모서리 스타일 |
| bool | BackgroundDraw get set | 배경 그리기 여부. 기본값: true |
| bool | BorderOnly get set | 테두리만 그리기 여부. 기본값: false |
| float | TitleHeight 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 | 자식 컨트롤 목록 |
| SKPoint | ViewPosition get | 현재 스크롤 오프셋 (-scrollPos) |
public class GoSwitchPanel : GoContainer
전환 패널. 여러 서브페이지(GoSubPage) 중 선택된 하나만 표시합니다.
Properties
| List<GoSubPage> | Pages get set | 서브 페이지 목록 |
| GoSubPage? | SelectedPage get set | 현재 선택된 서브 페이지 |
Methods
| void | SetPage | (string name) | 이름으로 서브 페이지 전환 |
Events
| EventHandler | PageChanged | 페이지 전환 완료 시 |
| EventHandler<CancelEventArgs> | PageChanging | 페이지 전환 전. Cancel = true로 취소 가능 |
GoSubPage
| string | Name get set | 서브 페이지 이름 |
| List<IGoControl> | Childrens get | 이 서브 페이지의 자식 컨트롤 목록 |
public class GoTabControl : GoContainer
탭 컨트롤. 탭 헤더 위치(Up/Down/Left/Right)를 선택할 수 있으며 GoTabPage별로 컨트롤을 분리합니다.
Properties
| GoDirectionHV | IconDirection get set | 탭 아이콘 방향. 기본값: Horizon |
| float | IconSize / IconGap get set | 아이콘 크기/간격. 기본값: 12, 5 |
| string | FontName / FontStyle / FontSize get set | 탭 텍스트 폰트 |
| string | TextColor get set | 탭 텍스트 색상. 기본값: "Fore" |
| string | TabColor get set | 탭/페이지 배경 색상. 기본값: "Base2" |
| string | TabBorderColor get set | 탭 테두리 색상. 기본값: "Base3" |
| GoDirection | TabPosition get set | 탭 헤더 위치 (Up/Down/Left/Right). 기본값: Up |
| float | NavSize get set | 탭 헤더 영역 크기(높이 또는 너비). 기본값: 40 |
| GoTabPage? | SelectedTab get set | 현재 선택된 탭 페이지 |
| List<GoTabPage> | TabPages get set | 탭 페이지 목록 |
Methods
| void | SetTab | (string name) | 이름으로 탭 전환 |
Events
| EventHandler | TabChanged | 탭 전환 완료 시 |
| EventHandler<CancelEventArgs> | TabChanging | 탭 전환 전. Cancel = true로 취소 가능 |
GoTabPage
| string | Name 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 | 행 크기 목록 |
| GoTableLayoutControlCollection | Childrens get | 자식 컨트롤 컬렉션 (컬럼/행 인덱스 포함) |
GoTableLayoutControlCollection
| void | Add | (IGoControl control, int col, int row, int colspan = 1, int rowspan = 1) | 컨트롤을 지정된 격자 위치에 추가. colspan/rowspan으로 병합 가능 |
| bool | Remove | (IGoControl control) | 컨트롤 제거 |
| void | Clear | () | 모든 컨트롤 제거 |
| bool | Contains | (IGoControl control) | 컨트롤 포함 여부 |
public class GoGridLayoutPanel : GoContainer
가변 열 그리드 레이아웃 컨테이너. 각 행마다 다른 수의 열을 가질 수 있습니다.
Properties
| List<GoGridLayoutPanelRow> | Rows get set | 행 정의 목록. GoGridLayoutPanelRow: Height(string), Columns(List<string>) |
| GoGridLayoutControlCollection | Childrens get | 자식 컨트롤 컬렉션 |
Methods
| void | AddRow | (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
| void | Add | (IGoControl control, int col, int row) | 컨트롤을 지정된 격자 위치에 추가 |
| bool | Remove | (IGoControl control) | 컨트롤 제거 |
| void | Clear | () | 모든 컨트롤 제거 |
| bool | Contains | (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이면 실제 크기 |
| GoContentAlignment | PanelAlignment get set | 패널 정렬. 기본값: MiddleCenter |
public class GoPicturePanel : GoContainer
이미지 배경 패널. 배경 이미지 위에 자식 컨트롤을 배치합니다.
Properties
| List<IGoControl> | Childrens get | 자식 컨트롤 목록 |
| string? | Image get set | GoDesign에 등록된 이미지 키 |
| GoImageScaleMode | ScaleMode get set | 이미지 크기 조절 모드. 기본값: Real |
| GoRoundType | Round get set | 모서리 스타일. 기본값: All |
검색 결과가 없습니다.