-
-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #471 from HandyOrg/add-Flex
Add flex
- Loading branch information
Showing
8 changed files
with
789 additions
and
0 deletions.
There are no files selected for viewing
717 changes: 717 additions & 0 deletions
717
src/Shared/HandyControl_Shared/Controls/Panel/FlexPanel.cs
Large diffs are not rendered by default.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
src/Shared/HandyControl_Shared/Data/Flex/FlexContentAlignment.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
11
src/Shared/HandyControl_Shared/Data/Flex/FlexContentJustify.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
12
src/Shared/HandyControl_Shared/Data/Flex/FlexItemAlignment.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
11
src/Shared/HandyControl_Shared/Data/Flex/FlexItemsAlignment.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace HandyControl.Data | ||
{ | ||
public enum FlexWrap | ||
{ | ||
NoWrap, | ||
Wrap, | ||
WrapReverse | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters