Skip to content

Commit

Permalink
Merge pull request #471 from HandyOrg/add-Flex
Browse files Browse the repository at this point in the history
Add flex
  • Loading branch information
NaBian authored Sep 5, 2020
2 parents c6262c0 + d07e1a3 commit 11d62a8
Show file tree
Hide file tree
Showing 8 changed files with 789 additions and 0 deletions.
717 changes: 717 additions & 0 deletions src/Shared/HandyControl_Shared/Controls/Panel/FlexPanel.cs

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions src/Shared/HandyControl_Shared/Data/Flex/FlexContentAlignment.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
namespace HandyControl.Data
{
public enum FlexContentAlignment
{
Stretch,
FlexStart,
FlexEnd,
Center,
SpaceBetween,
SpaceAround
}
}
11 changes: 11 additions & 0 deletions src/Shared/HandyControl_Shared/Data/Flex/FlexContentJustify.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
namespace HandyControl.Data
{
public enum FlexContentJustify
{
FlexStart,
FlexEnd,
Center,
SpaceBetween,
SpaceAround
}
}
10 changes: 10 additions & 0 deletions src/Shared/HandyControl_Shared/Data/Flex/FlexDirection.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
namespace HandyControl.Data
{
public enum FlexDirection
{
Row,
RowReverse,
Column,
ColumnReverse
}
}
12 changes: 12 additions & 0 deletions src/Shared/HandyControl_Shared/Data/Flex/FlexItemAlignment.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
namespace HandyControl.Data
{
public enum FlexItemAlignment
{
Auto,
FlexStart,
FlexEnd,
Center,
Baseline,
Stretch
}
}
11 changes: 11 additions & 0 deletions src/Shared/HandyControl_Shared/Data/Flex/FlexItemsAlignment.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
namespace HandyControl.Data
{
public enum FlexItemsAlignment
{
Stretch,
FlexStart,
FlexEnd,
Center,
Baseline
}
}
9 changes: 9 additions & 0 deletions src/Shared/HandyControl_Shared/Data/Flex/FlexWrap.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
namespace HandyControl.Data
{
public enum FlexWrap
{
NoWrap,
Wrap,
WrapReverse
}
}
7 changes: 7 additions & 0 deletions src/Shared/HandyControl_Shared/HandyControl_Shared.projitems
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
<Compile Include="$(MSBuildThisFileDirectory)Controls\Other\Notification.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Controls\Other\Poptip.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Controls\Other\Watermark.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Controls\Panel\FlexPanel.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Controls\PropertyGrid\Editors\ImagePropertyEditor.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Controls\PropertyGrid\Editors\VerticalAlignmentPropertyEditor.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Controls\PropertyGrid\Editors\HorizontalAlignmentPropertyEditor.cs" />
Expand Down Expand Up @@ -74,6 +75,12 @@
<Compile Include="$(MSBuildThisFileDirectory)Controls\Text\SimpleText.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Controls\Window\GlowWindow.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Collections\DateTimeRangeComparer.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Data\Flex\FlexContentJustify.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Data\Flex\FlexContentAlignment.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Data\Flex\FlexItemAlignment.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Data\Flex\FlexItemsAlignment.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Data\Flex\FlexDirection.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Data\Flex\FlexWrap.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Data\Range\DateTimeRange.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Data\DisposableObject.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Data\Enum\EnumDataProvider.cs" />
Expand Down

0 comments on commit 11d62a8

Please sign in to comment.