Files
GacUI/.github/KnowledgeBase/manual/gacui/components/home.md
2026-02-04 14:57:24 -08:00

3.6 KiB

GacUI Components

GacUIhas a rich set of predefined objects inGacUI XML Resource.

Elements

Elementsoffer rendering of geometry shapes and texts.

Herecontains detailed introduction for:

  • <FocusRectangle>
  • <SolidBorder>
  • <SolidBackground>
  • <Gui3DBorderElement>
  • <Gui3DSplitterElement>
  • <GradientBackground>
  • <InnerShadow>
  • <SolidLabel>
  • <ImageFrame>
  • <Polygon>

presentation::elements::GuiColorizedTextElementandpresentation::elements::GuiDocumentElementare not expected to be used directly. Editor controls will create and update these elements in the specified area provided by the control template.

Compositions

Compositionoffer layout algorithms based on constraints.

Herecontains detailed introduction for:

  • <Bounds>
  • <Stack>, <RepeatStack>, <StackItem>
  • <Flow>, <RepeatFlow>, <FlowItem>
  • <Table>, <Cell>, <RowSplitter>, <ColumnSplitter>
  • <SharedSizeRoot>, <SharedSizeItem>
  • <SideAligned>
  • <PartialView>
  • Responsive Design series:
    • <ResponsiveShared>
    • <ResponsiveView>
    • <ResponsiveFixed>
    • <ResponsiveStack>
    • <ResponsiveGroup>
    • <ResponsiveContainer>

Controls

Controlsoffer a rich set of predefined UI functionalities.

Herecontains detailed introduction for:

  • Basic Controls
  • Container Controls
  • Editor Controls
  • List Controls
  • Toolstrip Controls
  • Ribbon Controls

Generally controls are in singly rooted inheritance based on their appearances. Like every controls with scroll bars inherit fromGuiScrollView.

But there are alsoGuiDocumentCommonInterfacefor editor controls, offering rendering and editing features.

Control Templates

Control Templatesoffer customization of control appearances.

Herecontains detailed introduction for:

  • <ControlTemplate/>
    • <LabelTemplate/>
    • <DocumentLabelTemplate/>
    • <WindowTemplate/>
      • <MenuTemplate/>
        • <RibbonToolstripMenuTemplate/>
    • <ButtonTemplate/>
      • <SelectableButtonTemplate/>
        • <ToolstripButtonTemplate/>
          • <ListViewColumnHeaderTemplate/>
          • <ComboBoxTemplate/>
            • <DateComboBoxTemplate/>
    • <ScrollTemplate/>
    • <ScrollViewTemplate/>
      • <DocumentViewerTemplate/>
      • <ListControlTemplate/>
        • <TextListTemplate/>
        • <ListViewTemplate/>
        • <TreeViewTemplate/>
    • <TabTemplate/>
      • <RibbonTabTemplate/>
    • <DatePickerTemplate/>
    • <RibbonGroupTemplate/>
    • <RibbonIconLabelTemplate/>
    • <RibbonButtonsTemplate/>
    • <RibbonToolstripsTemplate/>
    • <RibbonGalleryTemplate/>
      • <RibbonGalleryListTemplate/>

Item Templates

Item Templatesoffer customization of list item appearances.

Herecontains detailed introduction for:

  • <ListItemTemplate>
    • <TextListItemTemplate>
      • <TreeItemTemplate>
  • <GridCellTemplate>
    • <GuiGridVisualizerTemplate>
    • <GuiGridEditorTemplate>

Components

Components offer other features that are not involved in rendering.

Herecontains detailed introduction for:

  • <MessageDialog>
  • <ColorDialog>
  • <FontDialog>
  • <OpenFileDialog>
  • <SaveFileDialog>
  • GuiSelectableButton::<MutexGroupController>
  • <ToolstripCommand>