mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-03-24 00:13:48 +08:00
demo: control_basic_checkbox
This commit is contained in:
Binary file not shown.
BIN
SampleForDoc/GacUI/UIRes/32bits/control_basic_checkbox.bin
Normal file
BIN
SampleForDoc/GacUI/UIRes/32bits/control_basic_checkbox.bin
Normal file
Binary file not shown.
Binary file not shown.
BIN
SampleForDoc/GacUI/UIRes/64bits/control_basic_checkbox.bin
Normal file
BIN
SampleForDoc/GacUI/UIRes/64bits/control_basic_checkbox.bin
Normal file
Binary file not shown.
@@ -36,8 +36,6 @@
|
||||
<Instance name="MainWindowResource">
|
||||
<Instance ref.Class="sample::MainWindow">
|
||||
<Window ref.Name="self" Text="control_basic_button" ClientSize="x:480 y:320">
|
||||
<MessageDialog ref.Name="messageDialog" Title-bind="self.Text" Text="Hello, world!"/>
|
||||
|
||||
<Table AlignmentToParent="left:0 top:0 right:0 bottom:0" CellPadding="10" BorderVisible="false" MinSizeLimitation="LimitToElementAndChildren">
|
||||
<att.Rows>
|
||||
<CellOption>composeType:Percentage percentage:0.5</CellOption>
|
||||
|
||||
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Resource>
|
||||
<Folder name="GacGenConfig">
|
||||
<Folder name="ResX86">
|
||||
<Text name="Resource">..\..\UIRes\32bits\control_basic_checkbox.bin</Text>
|
||||
</Folder>
|
||||
<Folder name="ResX64">
|
||||
<Text name="Resource">..\..\UIRes\64bits\control_basic_checkbox.bin</Text>
|
||||
</Folder>
|
||||
</Folder>
|
||||
<Folder name="MainWindow">
|
||||
<Instance name="MainWindowResource">
|
||||
<Instance ref.Class="sample::MainWindow" xmlns:x="presentation::controls::GuiSelectableButton::*">
|
||||
<Window ref.Name="self" Text="control_basic_checkbox" ClientSize="x:480 y:320">
|
||||
<x:MutexGroupController ref.Name="gc"/>
|
||||
<Table AlignmentToParent="left:0 top:0 right:0 bottom:0" CellPadding="10" BorderVisible="false" MinSizeLimitation="LimitToElementAndChildren">
|
||||
<att.Rows>
|
||||
<CellOption>composeType:Percentage percentage:0.5</CellOption>
|
||||
<CellOption>composeType:MinSize</CellOption>
|
||||
<CellOption>composeType:MinSize</CellOption>
|
||||
<CellOption>composeType:Percentage percentage:0.5</CellOption>
|
||||
</att.Rows>
|
||||
<att.Columns>
|
||||
<CellOption>composeType:Percentage percentage:0.5</CellOption>
|
||||
<CellOption>composeType:MinSize</CellOption>
|
||||
<CellOption>composeType:MinSize</CellOption>
|
||||
<CellOption>composeType:Percentage percentage:0.5</CellOption>
|
||||
</att.Columns>
|
||||
|
||||
<Cell Site="row:1 column:1">
|
||||
<CheckBox Text="<CheckBox AutoSelection="true"/>"/>
|
||||
</Cell>
|
||||
<Cell Site="row:1 column:2">
|
||||
<CheckBox AutoSelection="false" Text="<CheckBox AutoSelection="false"/>"/>
|
||||
</Cell>
|
||||
|
||||
<Cell Site="row:2 column:1">
|
||||
<GroupBox Text="<RadioButton GroupController-ref="gc"/>">
|
||||
<att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
|
||||
<Stack Direction="Vertical" AlignmentToParent="left:0 top:0 right:0 bottom:0" MinSizeLimitation="LimitToElementAndChildren">
|
||||
<StackItem><RadioButton Text="Option 1" GroupController-ref="gc"/></StackItem>
|
||||
<StackItem><RadioButton Text="Option 2" GroupController-ref="gc"/></StackItem>
|
||||
<StackItem><RadioButton Text="Option 3" GroupController-ref="gc"/></StackItem>
|
||||
</Stack>
|
||||
</GroupBox>
|
||||
</Cell>
|
||||
<Cell Site="row:2 column:2">
|
||||
<GroupBox Text="<RadioButton/>">
|
||||
<att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:0 bottom:0"/>
|
||||
<Stack Direction="Vertical" AlignmentToParent="left:0 top:0 right:0 bottom:0" MinSizeLimitation="LimitToElementAndChildren">
|
||||
<StackItem><RadioButton Text="Option 1"/></StackItem>
|
||||
<StackItem><RadioButton Text="Option 2"/></StackItem>
|
||||
<StackItem><RadioButton Text="Option 3"/></StackItem>
|
||||
</Stack>
|
||||
</GroupBox>
|
||||
</Cell>
|
||||
</Table>
|
||||
</Window>
|
||||
</Instance>
|
||||
</Instance>
|
||||
</Folder>
|
||||
</Resource>
|
||||
Reference in New Issue
Block a user