├── Samples ├── ReadMe.txt ├── Demo │ ├── Resources │ │ ├── Sun.png │ │ ├── Cart.png │ │ ├── Email.png │ │ ├── Filter.png │ │ ├── Search.png │ │ ├── Family-Guy.png │ │ ├── Gmail-Logo.png │ │ ├── Icon-None.png │ │ ├── Menu-Flex.png │ │ ├── Menu-Grid.png │ │ ├── Menu-Home.png │ │ ├── Menu-Image.png │ │ ├── Menu-Misc.png │ │ ├── Menu-Paper.png │ │ ├── Menu-Path.png │ │ ├── Menu-Pixy.png │ │ ├── Menu-Popup.png │ │ ├── Scooby-Doo.png │ │ ├── American-Flag.png │ │ ├── Bobs-Burgers.jpg │ │ ├── ElectricRed.jpg │ │ ├── Frogui-Logo-a.png │ │ ├── Frogui-Logo.png │ │ ├── Lesarde-Logo.png │ │ ├── Menu-Border.png │ │ ├── Menu-Button.png │ │ ├── Menu-CheckBox.png │ │ ├── Menu-Droplist.png │ │ ├── Menu-Ellipse.png │ │ ├── Menu-ListBox.png │ │ ├── Menu-Slider.png │ │ ├── Menu-TextBox.png │ │ ├── The-Jetsons.jpg │ │ ├── The-Simpsons.jpg │ │ ├── Checkered-Dark.png │ │ ├── Checkered-Light.png │ │ ├── Disenchantment.jpg │ │ ├── Menu-HtmlBlock.png │ │ ├── Menu-Rectangle.png │ │ ├── Menu-ScrollBar.png │ │ ├── Menu-TextBlock.png │ │ ├── The-Flintstones.jpg │ │ ├── Checkered-Medium.png │ │ ├── King-Of-The-Hill.png │ │ ├── Menu-ItemsControl.png │ │ ├── Menu-NumericEdit.png │ │ ├── Menu-RadioButton.png │ │ ├── Menu-ScrollViewer.png │ │ ├── Icon-VaryDesign-Sign.png │ │ ├── Icon-BrushVariety-Image.png │ │ ├── Icon-BrushVariety-Solid.png │ │ ├── Icon-FontStretch-Normal.png │ │ ├── Icon-TextAlignment-Left.png │ │ ├── Icon-VaryDesign-Arrow.png │ │ ├── Icon-VaryDesign-Chevron.png │ │ ├── Icon-FontStretch-Expanded.png │ │ ├── Icon-Orientation-Vertical.png │ │ ├── Icon-StrokePattern-Dashed.png │ │ ├── Icon-StrokePattern-Dotted.png │ │ ├── Icon-StrokePattern-Double.png │ │ ├── Icon-StrokePattern-Groove.png │ │ ├── Icon-StrokePattern-Inset.png │ │ ├── Icon-StrokePattern-Outset.png │ │ ├── Icon-StrokePattern-Ridge.png │ │ ├── Icon-StrokePattern-Solid.png │ │ ├── Icon-TextAlignment-Center.png │ │ ├── Icon-TextAlignment-Right.png │ │ ├── Icon-VaryDesign-LineArrow.png │ │ ├── Icon-VaryDesign-Triangle.png │ │ ├── Icon-FontStretch-Condensed.png │ │ ├── Icon-Orientation-Horizontal.png │ │ ├── Icon-PopupPlacementMode-Left.png │ │ ├── Icon-PopupPlacementMode-Top.png │ │ ├── Icon-TextAlignment-Justify.png │ │ ├── Icon-TrackEdgeDesign-Round.png │ │ ├── Icon-TrackEdgeDesign-Square.png │ │ ├── Icon-FontStretch-ExtraExpanded.png │ │ ├── Icon-FontStretch-SemiCondensed.png │ │ ├── Icon-FontStretch-SemiExpanded.png │ │ ├── Icon-FontStretch-UltraExpanded.png │ │ ├── Icon-PixyLayout-TextAboveImage.png │ │ ├── Icon-PixyLayout-TextBelowImage.png │ │ ├── Icon-PopupPlacementMode-Bottom.png │ │ ├── Icon-PopupPlacementMode-Center.png │ │ ├── Icon-PopupPlacementMode-Right.png │ │ ├── Icon-TextDecorationStyle-Solid.png │ │ ├── Icon-TextDecorationStyle-Wavy.png │ │ ├── Icon-TrackEdgeDesign-HalfRound.png │ │ ├── Icon-BrushVariety-LinearGradient.png │ │ ├── Icon-BrushVariety-RadialGradient.png │ │ ├── Icon-ButtonAccentDesign-OutArrow.png │ │ ├── Icon-FontStretch-ExtraCondensed.png │ │ ├── Icon-FontStretch-UltraCondensed.png │ │ ├── Icon-PixyLayout-TextLeftOfImage.png │ │ ├── Icon-PixyLayout-TextRightOfImage.png │ │ ├── Icon-PopupPlacementMode-Absolute.png │ │ ├── Icon-PopupPlacementMode-Pointer.png │ │ ├── Icon-PopupPlacementMode-Relative.png │ │ ├── Icon-TextDecorationLines-Overline.png │ │ ├── Icon-TextDecorationStyle-Dashed.png │ │ ├── Icon-TextDecorationStyle-Dotted.png │ │ ├── Icon-TextDecorationStyle-Double.png │ │ ├── Icon-TrackEdgeDesign-QuarterRound.png │ │ ├── Icon-TextDecorationLines-Underline.png │ │ ├── Icon-PopupPlacementMode-AbsolutePoint.png │ │ ├── Icon-PopupPlacementMode-PointerPoint.png │ │ ├── Icon-PopupPlacementMode-RelativePoint.png │ │ └── Icon-TextDecorationLines-Strikethrough.png │ ├── libman.json │ ├── IExampleView.cs │ ├── Shared │ │ ├── PersonView.cs │ │ ├── CartoonView.cs │ │ ├── BitmapInfoView.cs │ │ ├── BrushInfoView.xaml │ │ ├── BrushInfo.cs │ │ ├── CartoonModel.cs │ │ ├── CartoonView.xaml │ │ ├── BitmapInfoView.xaml │ │ ├── StringView.cs │ │ ├── WrappingFlex.cs │ │ ├── BrushInfoView.cs │ │ ├── PersonView.xaml │ │ ├── Brushes.cs │ │ ├── Bitmaps.cs │ │ ├── ImageBrushes.cs │ │ ├── LinearGradientBrushes.cs │ │ └── RadialGradientBrushes.cs │ ├── Examples │ │ ├── Path │ │ │ ├── View.xaml │ │ │ └── View.cs │ │ ├── Flex │ │ │ ├── View.xaml │ │ │ └── View.cs │ │ ├── Grid │ │ │ ├── View.xaml │ │ │ └── View.cs │ │ ├── Pixy │ │ │ ├── View.xaml │ │ │ └── View.cs │ │ ├── Border │ │ │ ├── View.xaml │ │ │ └── View.cs │ │ ├── Image │ │ │ ├── View.xaml │ │ │ └── View.cs │ │ ├── Ellipse │ │ │ ├── View.xaml │ │ │ └── View.cs │ │ ├── TextBox │ │ │ ├── View.xaml │ │ │ └── View.cs │ │ ├── HtmlBlock │ │ │ ├── View.xaml │ │ │ └── View.cs │ │ ├── Rectangle │ │ │ ├── View.xaml │ │ │ └── View.cs │ │ ├── TextBlock │ │ │ ├── View.xaml │ │ │ └── View.cs │ │ ├── NumericEdit │ │ │ ├── View.xaml │ │ │ └── View.cs │ │ ├── Slider │ │ │ ├── View.xaml │ │ │ └── View.cs │ │ ├── Droplist │ │ │ ├── View.xaml │ │ │ └── View.cs │ │ ├── _Misc │ │ │ ├── Animation A │ │ │ │ ├── View.xaml │ │ │ │ └── View.cs │ │ │ ├── Home │ │ │ │ └── View.xaml │ │ │ ├── Binding A │ │ │ │ ├── View.cs │ │ │ │ └── View.xaml │ │ │ ├── Calculator │ │ │ │ ├── MyAssets.xaml │ │ │ │ └── View.cs │ │ │ ├── Tip Calculator │ │ │ │ ├── MoneyBlock.cs │ │ │ │ ├── Money.cs │ │ │ │ ├── View.cs │ │ │ │ └── View.xaml │ │ │ ├── Alignment Properties │ │ │ │ └── View.cs │ │ │ └── Observable A │ │ │ │ ├── View.cs │ │ │ │ └── View.xaml │ │ ├── ListBox │ │ │ ├── View.xaml │ │ │ └── View.cs │ │ ├── ItemsControl │ │ │ ├── View.xaml │ │ │ └── View.cs │ │ ├── ScrollBar │ │ │ ├── View.xaml │ │ │ └── View.cs │ │ ├── ScrollViewer │ │ │ ├── View.xaml │ │ │ └── View.cs │ │ ├── Button │ │ │ ├── View.cs │ │ │ └── View.xaml │ │ ├── CheckBox │ │ │ ├── View.cs │ │ │ └── View.xaml │ │ ├── RadioButton │ │ │ ├── View.cs │ │ │ └── View.xaml │ │ ├── Popup │ │ │ ├── View.xaml │ │ │ └── View.cs │ │ └── Paper │ │ │ ├── View.cs │ │ │ └── View.xaml │ ├── Editors │ │ ├── BrushVariety.cs │ │ ├── PercentEditor.cs │ │ ├── FontWeightEditor.cs │ │ ├── BorderPatternEditor.cs │ │ ├── IEditor.cs │ │ ├── BooleanEditor.cs │ │ ├── Segment.cs │ │ ├── DoubleEditor.cs │ │ ├── DecimalEditor.cs │ │ ├── MagicSegmenter.cs │ │ ├── EnumTextEditor.cs │ │ ├── TextEditor.cs │ │ ├── LengthEditorBase.cs │ │ ├── EnumImageEditor.cs │ │ ├── DoubleSlider.cs │ │ ├── BrushEditor.cs │ │ ├── ItemsSourceEditor.cs │ │ ├── MagicSlider.cs │ │ ├── NullableSolidColorBrushEditor.cs │ │ ├── FontSizeEditor.cs │ │ ├── ThicknessEditor.cs │ │ ├── CornerRadiusEditor.cs │ │ ├── FontFamilyEditor.cs │ │ ├── CheckedEditorPart.cs │ │ ├── LengthEditor.cs │ │ ├── AngleEditor.cs │ │ ├── IntEditor.cs │ │ ├── EffectEditor.cs │ │ ├── BrushSlider.cs │ │ └── EnumEditor.cs │ ├── Program.cs │ ├── App.cs │ ├── Example.cs │ ├── PresetSelector.cs │ ├── App.xaml │ └── MainWindow.xaml ├── Console │ ├── HelloFriend │ │ ├── libman.json │ │ ├── Program.cs │ │ ├── App.cs │ │ └── HelloFriend.csproj │ ├── HelloWorld │ │ ├── Program.cs │ │ ├── App.cs │ │ └── HelloWorld.csproj │ └── ReadKeyFun │ │ ├── Program.cs │ │ ├── ReadKeyFun.csproj │ │ └── App.cs ├── HelloWorldA │ ├── App.xaml │ ├── Greeting.xaml │ ├── Greeting.cs │ ├── Program.cs │ ├── App.cs │ └── HelloWorldA.csproj ├── HelloWorldB │ ├── App.xaml │ ├── Greeting.xaml │ ├── Model.cs │ ├── Program.cs │ ├── App.cs │ ├── Greeting.cs │ └── HelloWorldB.csproj ├── HelloWorldC │ ├── App.xaml │ ├── Greeting.xaml │ ├── Program.cs │ ├── App.cs │ ├── Greeting.cs │ ├── HelloWorldC.csproj │ └── ViewModel.cs └── Readme.md ├── README.md └── .gitignore /Samples/ReadMe.txt: -------------------------------------------------------------------------------- 1 | Frogui Samples 2 | ============== 3 | 4 | -------------------------------------------------------------------------------- /Samples/Demo/Resources/Sun.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Sun.png -------------------------------------------------------------------------------- /Samples/Demo/libman.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "defaultProvider": "cdnjs", 4 | "libraries": [] 5 | } -------------------------------------------------------------------------------- /Samples/Demo/Resources/Cart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Cart.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Email.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Email.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Filter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Filter.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Search.png -------------------------------------------------------------------------------- /Samples/Console/HelloFriend/libman.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "defaultProvider": "cdnjs", 4 | "libraries": [] 5 | } -------------------------------------------------------------------------------- /Samples/Demo/Resources/Family-Guy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Family-Guy.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Gmail-Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Gmail-Logo.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-None.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-None.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Menu-Flex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Menu-Flex.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Menu-Grid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Menu-Grid.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Menu-Home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Menu-Home.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Menu-Image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Menu-Image.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Menu-Misc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Menu-Misc.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Menu-Paper.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Menu-Paper.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Menu-Path.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Menu-Path.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Menu-Pixy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Menu-Pixy.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Menu-Popup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Menu-Popup.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Scooby-Doo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Scooby-Doo.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/American-Flag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/American-Flag.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Bobs-Burgers.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Bobs-Burgers.jpg -------------------------------------------------------------------------------- /Samples/Demo/Resources/ElectricRed.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/ElectricRed.jpg -------------------------------------------------------------------------------- /Samples/Demo/Resources/Frogui-Logo-a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Frogui-Logo-a.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Frogui-Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Frogui-Logo.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Lesarde-Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Lesarde-Logo.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Menu-Border.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Menu-Border.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Menu-Button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Menu-Button.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Menu-CheckBox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Menu-CheckBox.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Menu-Droplist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Menu-Droplist.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Menu-Ellipse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Menu-Ellipse.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Menu-ListBox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Menu-ListBox.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Menu-Slider.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Menu-Slider.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Menu-TextBox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Menu-TextBox.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/The-Jetsons.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/The-Jetsons.jpg -------------------------------------------------------------------------------- /Samples/Demo/Resources/The-Simpsons.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/The-Simpsons.jpg -------------------------------------------------------------------------------- /Samples/Demo/Resources/Checkered-Dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Checkered-Dark.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Checkered-Light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Checkered-Light.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Disenchantment.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Disenchantment.jpg -------------------------------------------------------------------------------- /Samples/Demo/Resources/Menu-HtmlBlock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Menu-HtmlBlock.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Menu-Rectangle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Menu-Rectangle.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Menu-ScrollBar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Menu-ScrollBar.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Menu-TextBlock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Menu-TextBlock.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/The-Flintstones.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/The-Flintstones.jpg -------------------------------------------------------------------------------- /Samples/Demo/Resources/Checkered-Medium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Checkered-Medium.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/King-Of-The-Hill.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/King-Of-The-Hill.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Menu-ItemsControl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Menu-ItemsControl.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Menu-NumericEdit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Menu-NumericEdit.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Menu-RadioButton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Menu-RadioButton.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Menu-ScrollViewer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Menu-ScrollViewer.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-VaryDesign-Sign.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-VaryDesign-Sign.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-BrushVariety-Image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-BrushVariety-Image.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-BrushVariety-Solid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-BrushVariety-Solid.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-FontStretch-Normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-FontStretch-Normal.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-TextAlignment-Left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-TextAlignment-Left.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-VaryDesign-Arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-VaryDesign-Arrow.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-VaryDesign-Chevron.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-VaryDesign-Chevron.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-FontStretch-Expanded.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-FontStretch-Expanded.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-Orientation-Vertical.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-Orientation-Vertical.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-StrokePattern-Dashed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-StrokePattern-Dashed.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-StrokePattern-Dotted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-StrokePattern-Dotted.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-StrokePattern-Double.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-StrokePattern-Double.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-StrokePattern-Groove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-StrokePattern-Groove.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-StrokePattern-Inset.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-StrokePattern-Inset.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-StrokePattern-Outset.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-StrokePattern-Outset.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-StrokePattern-Ridge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-StrokePattern-Ridge.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-StrokePattern-Solid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-StrokePattern-Solid.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-TextAlignment-Center.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-TextAlignment-Center.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-TextAlignment-Right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-TextAlignment-Right.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-VaryDesign-LineArrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-VaryDesign-LineArrow.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-VaryDesign-Triangle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-VaryDesign-Triangle.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-FontStretch-Condensed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-FontStretch-Condensed.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-Orientation-Horizontal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-Orientation-Horizontal.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-PopupPlacementMode-Left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-PopupPlacementMode-Left.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-PopupPlacementMode-Top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-PopupPlacementMode-Top.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-TextAlignment-Justify.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-TextAlignment-Justify.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-TrackEdgeDesign-Round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-TrackEdgeDesign-Round.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-TrackEdgeDesign-Square.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-TrackEdgeDesign-Square.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-FontStretch-ExtraExpanded.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-FontStretch-ExtraExpanded.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-FontStretch-SemiCondensed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-FontStretch-SemiCondensed.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-FontStretch-SemiExpanded.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-FontStretch-SemiExpanded.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-FontStretch-UltraExpanded.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-FontStretch-UltraExpanded.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-PixyLayout-TextAboveImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-PixyLayout-TextAboveImage.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-PixyLayout-TextBelowImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-PixyLayout-TextBelowImage.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-PopupPlacementMode-Bottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-PopupPlacementMode-Bottom.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-PopupPlacementMode-Center.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-PopupPlacementMode-Center.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-PopupPlacementMode-Right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-PopupPlacementMode-Right.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-TextDecorationStyle-Solid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-TextDecorationStyle-Solid.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-TextDecorationStyle-Wavy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-TextDecorationStyle-Wavy.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-TrackEdgeDesign-HalfRound.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-TrackEdgeDesign-HalfRound.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-BrushVariety-LinearGradient.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-BrushVariety-LinearGradient.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-BrushVariety-RadialGradient.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-BrushVariety-RadialGradient.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-ButtonAccentDesign-OutArrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-ButtonAccentDesign-OutArrow.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-FontStretch-ExtraCondensed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-FontStretch-ExtraCondensed.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-FontStretch-UltraCondensed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-FontStretch-UltraCondensed.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-PixyLayout-TextLeftOfImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-PixyLayout-TextLeftOfImage.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-PixyLayout-TextRightOfImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-PixyLayout-TextRightOfImage.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-PopupPlacementMode-Absolute.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-PopupPlacementMode-Absolute.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-PopupPlacementMode-Pointer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-PopupPlacementMode-Pointer.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-PopupPlacementMode-Relative.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-PopupPlacementMode-Relative.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-TextDecorationLines-Overline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-TextDecorationLines-Overline.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-TextDecorationStyle-Dashed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-TextDecorationStyle-Dashed.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-TextDecorationStyle-Dotted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-TextDecorationStyle-Dotted.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-TextDecorationStyle-Double.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-TextDecorationStyle-Double.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-TrackEdgeDesign-QuarterRound.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-TrackEdgeDesign-QuarterRound.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-TextDecorationLines-Underline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-TextDecorationLines-Underline.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-PopupPlacementMode-AbsolutePoint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-PopupPlacementMode-AbsolutePoint.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-PopupPlacementMode-PointerPoint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-PopupPlacementMode-PointerPoint.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-PopupPlacementMode-RelativePoint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-PopupPlacementMode-RelativePoint.png -------------------------------------------------------------------------------- /Samples/Demo/Resources/Icon-TextDecorationLines-Strikethrough.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lesarde-co/frogui/HEAD/Samples/Demo/Resources/Icon-TextDecorationLines-Strikethrough.png -------------------------------------------------------------------------------- /Samples/Demo/IExampleView.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui; 2 | using System; 3 | 4 | namespace Demo 5 | { 6 | public interface IExampleView 7 | { 8 | Element MainElement { get; } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /Samples/Demo/Shared/PersonView.cs: -------------------------------------------------------------------------------- 1 | namespace Demo 2 | { 3 | public partial class PersonView : Lesarde.Frogui.Controls.Grid 4 | { 5 | public PersonView() 6 | { 7 | InitializeComponent(); 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /Samples/Demo/Shared/CartoonView.cs: -------------------------------------------------------------------------------- 1 | namespace Demo 2 | { 3 | public partial class CartoonView : Lesarde.Frogui.Controls.Border 4 | { 5 | public CartoonView() 6 | { 7 | InitializeComponent(); 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /Samples/Demo/Shared/BitmapInfoView.cs: -------------------------------------------------------------------------------- 1 | namespace Demo 2 | { 3 | public partial class BitmapInfoView : Lesarde.Frogui.Controls.Border 4 | { 5 | public BitmapInfoView() 6 | { 7 | InitializeComponent(); 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /Samples/Demo/Examples/Path/View.xaml: -------------------------------------------------------------------------------- 1 | 7 | 8 | -------------------------------------------------------------------------------- /Samples/Demo/Examples/Flex/View.xaml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /Samples/Demo/Examples/Grid/View.xaml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /Samples/Demo/Examples/Pixy/View.xaml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Samples/Demo/Examples/Border/View.xaml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /Samples/Demo/Examples/Image/View.xaml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Samples/Demo/Examples/Ellipse/View.xaml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /Samples/Demo/Examples/TextBox/View.xaml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /Samples/Demo/Examples/HtmlBlock/View.xaml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Samples/Demo/Examples/Rectangle/View.xaml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /Samples/Demo/Examples/TextBlock/View.xaml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /Samples/Demo/Examples/NumericEdit/View.xaml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /Samples/Demo/Examples/Slider/View.xaml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Samples/Demo/Examples/Droplist/View.xaml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Samples/Demo/Examples/_Misc/Animation A/View.xaml: -------------------------------------------------------------------------------- 1 | 8 | 9 | -------------------------------------------------------------------------------- /Samples/HelloWorldA/App.xaml: -------------------------------------------------------------------------------- 1 | 4 | 9 | 10 | -------------------------------------------------------------------------------- /Samples/HelloWorldB/App.xaml: -------------------------------------------------------------------------------- 1 | 4 | 9 | 10 | -------------------------------------------------------------------------------- /Samples/HelloWorldC/App.xaml: -------------------------------------------------------------------------------- 1 | 4 | 9 | 10 | -------------------------------------------------------------------------------- /Samples/Demo/Editors/BrushVariety.cs: -------------------------------------------------------------------------------- 1 | using Lesarde; 2 | using System; 3 | 4 | namespace Demo 5 | { 6 | [Flags] 7 | public enum BrushVariety : uint 8 | { 9 | None = FLAG.Flag_01, 10 | Solid = FLAG.Flag_02, 11 | LinearGradient = FLAG.Flag_03, 12 | RadialGradient = FLAG.Flag_04, 13 | Image = FLAG.Flag_05 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Samples/Demo/Examples/ListBox/View.xaml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /Samples/Demo/Examples/ItemsControl/View.xaml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /Samples/Demo/Editors/PercentEditor.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui; 2 | using Lesarde.Frogui.ComponentModel; 3 | using Lesarde.Frogui.Data; 4 | 5 | namespace Demo 6 | { 7 | public class PercentEditor : DoubleSlider 8 | { 9 | public PercentEditor() 10 | { 11 | SmallChange = 0.01m; 12 | LargeChange = SmallChange; 13 | Maximum = 1.0m; 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Samples/Demo/Editors/FontWeightEditor.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui.Media; 2 | 3 | namespace Demo 4 | { 5 | public class FontWeightEditor : EnumEditor 6 | { 7 | protected override void PrepSegment(Segment segment, string name, FontWeightKind value) 8 | { 9 | segment.Text = name; 10 | segment.Value = FontWeight.FromKind(value); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Samples/Demo/Examples/ScrollBar/View.xaml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /Samples/Demo/Examples/_Misc/Home/View.xaml: -------------------------------------------------------------------------------- 1 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /Samples/Demo/Editors/BorderPatternEditor.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui; 2 | using Lesarde.Frogui.Controls; 3 | using Lesarde.Frogui.Media; 4 | 5 | namespace Demo 6 | { 7 | public class BorderPatternEditor : EnumEditor 8 | { 9 | protected override void PrepSegment(Segment segment, string name, StrokePattern value) 10 | { 11 | segment.Text = name; 12 | segment.Value = new BorderPattern(value); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Samples/HelloWorldB/Greeting.xaml: -------------------------------------------------------------------------------- 1 | 6 | 7 | -------------------------------------------------------------------------------- /Samples/Demo/Shared/BrushInfoView.xaml: -------------------------------------------------------------------------------- 1 | 15 | 16 | -------------------------------------------------------------------------------- /Samples/HelloWorldA/Greeting.xaml: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /Samples/HelloWorldC/Greeting.xaml: -------------------------------------------------------------------------------- 1 | 6 | 7 | -------------------------------------------------------------------------------- /Samples/Demo/Shared/BrushInfo.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui.Media; 2 | 3 | namespace Demo 4 | { 5 | /*************************************************************************************************** 6 | BrushInfo class 7 | ***************************************************************************************************/ 8 | 9 | public class BrushInfo 10 | { 11 | public Brush Brush { get; set; } 12 | public string Name { get; set; } 13 | 14 | public string BrushTypeName => Brush.GetType().Name; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Samples/Demo/Examples/ScrollViewer/View.xaml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /Samples/Demo/Shared/CartoonModel.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui.Media; 2 | using static Demo.Bitmaps; 3 | 4 | namespace Demo 5 | { 6 | public class CartoonModel 7 | { 8 | public string Name { get; set; } 9 | public string Producer { get; set; } 10 | public string StartYear { get; set; } 11 | public ImageSource Image { get; set; } 12 | 13 | public CartoonModel(BitmapInfo info, string producer, string startYear) 14 | { 15 | Name = info.Name; 16 | Image = info.Bitmap; 17 | Producer = producer; 18 | StartYear = startYear; 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Samples/Demo/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Demo 4 | { 5 | /*************************************************************************************************** 6 | Program class 7 | ***************************************************************************************************/ 8 | /// 9 | /// This class contain the the app's entry point method. 10 | /// 11 | public class Program 12 | { 13 | static void Main(string[] args) 14 | { 15 | // Create and run the app 16 | var app = new App(); 17 | app.Run(); 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /Samples/Demo/Examples/Pixy/View.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui; 2 | using Lesarde.Frogui.Controls; 3 | 4 | namespace Demo.Example_Pixy 5 | { 6 | /*************************************************************************************************** 7 | View class 8 | ***************************************************************************************************/ 9 | /// 10 | /// Demonstrates the element. 11 | /// 12 | public partial class View : Decorator, IExampleView 13 | { 14 | Element IExampleView.MainElement => e_pixy; 15 | 16 | public View() 17 | { 18 | InitializeComponent(); 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /Samples/Demo/Editors/IEditor.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui; 2 | 3 | namespace Demo 4 | { 5 | /*************************************************************************************************** 6 | 7 | public interface IEditor class 8 | ***************************************************************************************************/ 9 | /// 10 | /// Interface for a property editor. A property editor is a control designed to a 11 | /// of an . 12 | /// 13 | public interface IEditor 14 | { 15 | void BindIt(Element targetObject, DependencyProperty targetProperty); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/Demo/Editors/BooleanEditor.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui; 2 | using Lesarde.Frogui.ComponentModel; 3 | using Lesarde.Frogui.Controls; 4 | using Lesarde.Frogui.Data; 5 | 6 | namespace Demo 7 | { 8 | public class BooleanEditor : CheckBox, IPropertyEditor 9 | { 10 | void IPropertyEditor.BindToSourceProperty(DependencyObject sourceObject, DependencyProperty sourceProperty) 11 | { 12 | SetBinding(CheckBox.IsCheckedProperty, new Binding(sourceProperty, sourceObject) { Mode = BindingMode.TwoWay }); 13 | } 14 | 15 | public BooleanEditor() 16 | { 17 | BorderThickness = Length.ZeroPx; 18 | CornerRadius = CornerRadius.InPixels(2); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Samples/Demo/Examples/Button/View.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui; 2 | using Lesarde.Frogui.Controls; 3 | 4 | namespace Demo.Example_Button 5 | { 6 | /*************************************************************************************************** 7 | View class 8 | ***************************************************************************************************/ 9 | /// 10 | /// Demonstrates the class. 11 | /// 12 | public partial class View : Decorator, IExampleView 13 | { 14 | public View() 15 | { 16 | InitializeComponent(); 17 | } 18 | 19 | Element IExampleView.MainElement => e_button; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Samples/Demo/Examples/CheckBox/View.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui; 2 | using Lesarde.Frogui.Controls; 3 | 4 | namespace Demo.Example_CheckBox 5 | { 6 | /*************************************************************************************************** 7 | View class 8 | ***************************************************************************************************/ 9 | /// 10 | /// Demonstrates the class. 11 | /// 12 | public partial class View : Flex, IExampleView 13 | { 14 | public View() 15 | { 16 | InitializeComponent(); 17 | } 18 | 19 | Element IExampleView.MainElement => e_checkBox; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Samples/Demo/Examples/HtmlBlock/View.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui; 2 | using Lesarde.Frogui.Controls; 3 | 4 | namespace Demo.Example_HtmlBlock 5 | { 6 | /*************************************************************************************************** 7 | View class 8 | ***************************************************************************************************/ 9 | /// 10 | /// Demonstrates the element. 11 | /// 12 | public partial class View : Decorator, IExampleView 13 | { 14 | Element IExampleView.MainElement => e_htmlBlock; 15 | 16 | public View() 17 | { 18 | InitializeComponent(); 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /Samples/Demo/Examples/RadioButton/View.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui; 2 | using Lesarde.Frogui.Controls; 3 | 4 | namespace Demo.Example_RadioButton 5 | { 6 | /*************************************************************************************************** 7 | View class 8 | ***************************************************************************************************/ 9 | /// 10 | /// Demonstrates the class. 11 | /// 12 | public partial class View : Flex, IExampleView 13 | { 14 | public View() 15 | { 16 | InitializeComponent(); 17 | } 18 | 19 | Element IExampleView.MainElement => e_radioButton; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Samples/Demo/Examples/Image/View.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui; 2 | using Lesarde.Frogui.Controls; 3 | using Lesarde.Frogui.Shapes; 4 | 5 | namespace Demo.Example_Image 6 | { 7 | /*************************************************************************************************** 8 | View class 9 | ***************************************************************************************************/ 10 | /// 11 | /// Demonstrates the element. 12 | /// 13 | public partial class View : Decorator, IExampleView 14 | { 15 | Element IExampleView.MainElement => e_image; 16 | 17 | public View() 18 | { 19 | InitializeComponent(); 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /Samples/Demo/Examples/Border/View.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui; 2 | using Lesarde.Frogui.Controls; 3 | using Lesarde.Frogui.Shapes; 4 | 5 | namespace Demo.Example_Border 6 | { 7 | /*************************************************************************************************** 8 | View class 9 | ***************************************************************************************************/ 10 | /// 11 | /// Demonstrates the element. 12 | /// 13 | public partial class View : Decorator, IExampleView 14 | { 15 | Element IExampleView.MainElement => e_border; 16 | 17 | public View() 18 | { 19 | InitializeComponent(); 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /Samples/Demo/Examples/NumericEdit/View.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui; 2 | using Lesarde.Frogui.Controls; 3 | 4 | namespace Demo.Example_NumericEdit 5 | { 6 | /*************************************************************************************************** 7 | View class 8 | ***************************************************************************************************/ 9 | /// 10 | /// Demonstrates the element. 11 | /// 12 | public partial class View : Decorator, IExampleView 13 | { 14 | Element IExampleView.MainElement => e_numericEdit; 15 | 16 | public View() 17 | { 18 | InitializeComponent(); 19 | } 20 | } 21 | } 22 | 23 | -------------------------------------------------------------------------------- /Samples/Demo/Examples/TextBox/View.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui; 2 | using Lesarde.Frogui.Controls; 3 | using Lesarde.Frogui.Shapes; 4 | 5 | namespace Demo.Example_TextBox 6 | { 7 | /*************************************************************************************************** 8 | View class 9 | ***************************************************************************************************/ 10 | /// 11 | /// Demonstrates the element. 12 | /// 13 | public partial class View : Decorator, IExampleView 14 | { 15 | Element IExampleView.MainElement => e_textBox; 16 | 17 | public View() 18 | { 19 | InitializeComponent(); 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /Samples/Demo/Examples/Rectangle/View.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui; 2 | using Lesarde.Frogui.Controls; 3 | using Lesarde.Frogui.Shapes; 4 | 5 | namespace Demo.Example_Rectangle 6 | { 7 | /*************************************************************************************************** 8 | View class 9 | ***************************************************************************************************/ 10 | /// 11 | /// Demonstrates the element. 12 | /// 13 | public partial class View : Decorator, IExampleView 14 | { 15 | Element IExampleView.MainElement => e_rectangle; 16 | 17 | public View() 18 | { 19 | InitializeComponent(); 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /Samples/Demo/Examples/TextBlock/View.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui; 2 | using Lesarde.Frogui.Controls; 3 | using Lesarde.Frogui.Shapes; 4 | 5 | namespace Demo.Example_TextBlock 6 | { 7 | /*************************************************************************************************** 8 | View class 9 | ***************************************************************************************************/ 10 | /// 11 | /// Demonstrates the element. 12 | /// 13 | public partial class View : Decorator, IExampleView 14 | { 15 | Element IExampleView.MainElement => e_textBlock; 16 | 17 | public View() 18 | { 19 | InitializeComponent(); 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /Samples/Demo/Examples/Ellipse/View.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui; 2 | using Lesarde.Frogui.Controls; 3 | using Lesarde.Frogui.Shapes; 4 | 5 | namespace Demo.Example_Ellipse 6 | { 7 | /*************************************************************************************************** 8 | View class 9 | ***************************************************************************************************/ 10 | /// 11 | /// Demonstrates the element. 12 | /// 13 | public partial class View : Decorator, IExampleView 14 | { 15 | Element IExampleView.MainElement => e_ellipse; 16 | 17 | public View() 18 | { 19 | InitializeComponent(); 20 | } 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /Samples/Demo/Examples/ListBox/View.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui; 2 | using Lesarde.Frogui.Controls; 3 | 4 | namespace Demo.Example_ListBox 5 | { 6 | /*************************************************************************************************** 7 | View class 8 | ***************************************************************************************************/ 9 | /// 10 | /// Demonstrates the class. 11 | /// 12 | public partial class View : Decorator, IExampleView 13 | { 14 | Element IExampleView.MainElement => e_listBox; 15 | 16 | public View() 17 | { 18 | InitializeComponent(); 19 | 20 | e_listBox.ItemViewMatcher = Common.ItemsControlViewMatcher; 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Samples/Demo/Examples/Droplist/View.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui; 2 | using Lesarde.Frogui.Controls; 3 | 4 | namespace Demo.Example_Droplist 5 | { 6 | /*************************************************************************************************** 7 | View class 8 | ***************************************************************************************************/ 9 | /// 10 | /// Demonstrates the class. 11 | /// 12 | public partial class View : Decorator, IExampleView 13 | { 14 | Element IExampleView.MainElement => e_droplist; 15 | 16 | public View() 17 | { 18 | InitializeComponent(); 19 | 20 | e_droplist.ItemViewMatcher = Common.ItemsControlViewMatcher; 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Samples/Console/HelloFriend/Program.cs: -------------------------------------------------------------------------------- 1 | namespace HelloFriend 2 | { 3 | /*************************************************************************************************** 4 | Program class 5 | ***************************************************************************************************/ 6 | /// 7 | /// Demonstrates how to read and write to the console. 8 | /// 9 | class Program 10 | { 11 | /// 12 | /// This is the app entry point. Console processing should be done in 13 | /// . 14 | /// 15 | static void Main(string[] args) 16 | { 17 | // Create and run the app 18 | var app = new App(); 19 | app.ScopeType = typeof(Lesarde.Frogui.Scope); 20 | 21 | app.Run(); 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Samples/Console/HelloWorld/Program.cs: -------------------------------------------------------------------------------- 1 | namespace HelloWorldA 2 | { 3 | /*************************************************************************************************** 4 | Program class 5 | ***************************************************************************************************/ 6 | /// 7 | /// Demonstrates the classic Hello World app in a console. 8 | /// 9 | class Program 10 | { 11 | /// 12 | /// This is the app entry point. Console processing should be done in 13 | /// . 14 | /// 15 | static void Main(string[] args) 16 | { 17 | // Create and run the app 18 | var app = new App(); 19 | app.ScopeType = typeof(Lesarde.Frogui.Scope); 20 | 21 | app.Run(); 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /Samples/Demo/Editors/Segment.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui; 2 | using Lesarde.Frogui.Media.Imaging; 3 | using System; 4 | 5 | namespace Demo 6 | { 7 | /*************************************************************************************************** 8 | Segment class 9 | ***************************************************************************************************/ 10 | /// 11 | /// Model for an item in a . Derives from 12 | /// so has and properties, 13 | /// and adds a property. 14 | /// 15 | public class Segment : PixyModel 16 | { 17 | public object Value { get; set; } 18 | 19 | public Segment() { } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Samples/Demo/Examples/ItemsControl/View.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui; 2 | using Lesarde.Frogui.Controls; 3 | using Lesarde.Frogui.Shapes; 4 | 5 | namespace Demo.Example_ItemsControl 6 | { 7 | /*************************************************************************************************** 8 | View class 9 | ***************************************************************************************************/ 10 | /// 11 | /// Demonstrates the class. 12 | /// 13 | public partial class View : Decorator, IExampleView 14 | { 15 | public View() 16 | { 17 | InitializeComponent(); 18 | 19 | e_itemsControl.ItemViewMatcher = Common.ItemsControlViewMatcher; 20 | } 21 | 22 | Element IExampleView.MainElement => e_itemsControl; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Samples/Demo/Examples/_Misc/Binding A/View.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui; 2 | using Lesarde.Frogui.Controls; 3 | using System; 4 | using System.Reactive.Linq; 5 | 6 | namespace Demo.Example_Binding_A 7 | { 8 | /*************************************************************************************************** 9 | View class 10 | ***************************************************************************************************/ 11 | /// 12 | /// Demonstrates the class. 13 | /// 14 | public partial class View : Flex, IExampleView 15 | { 16 | public View() 17 | { 18 | InitializeComponent(); 19 | 20 | e_tb1.DataContext = e_tb2; 21 | e_tb2.DataContext = e_tb3; 22 | 23 | } 24 | 25 | Element IExampleView.MainElement => this; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /Samples/Demo/Editors/DoubleEditor.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui; 2 | using Lesarde.Frogui.ComponentModel; 3 | using Lesarde.Frogui.Controls; 4 | using Lesarde.Frogui.Data; 5 | 6 | namespace Demo 7 | { 8 | public class DoubleEditor : NumericEdit, IPropertyEditor 9 | { 10 | /******************************************************************************* 11 | BindToSourceProperty() 12 | *******************************************************************************/ 13 | 14 | void IPropertyEditor.BindToSourceProperty(DependencyObject sourceObject, DependencyProperty sourceProperty) => SetBinding(NumberDoubleProperty, new Binding(sourceProperty, sourceObject) { Mode = BindingMode.TwoWay }); 15 | 16 | public DoubleEditor() 17 | { 18 | TypeFilter = NumericTypeFilter.Double; 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Samples/HelloWorldA/Greeting.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui; 2 | using Lesarde.Frogui.Controls; 3 | using Lesarde.Frogui.Media; 4 | 5 | namespace HelloWorldA 6 | { 7 | /*************************************************************************************************** 8 | Greeting class 9 | ***************************************************************************************************/ 10 | /// 11 | /// This class is a that displays "Hello, World!". 12 | /// Note this is a partial class, the code-behind for the Greeting.xaml file. 13 | /// 14 | public partial class Greeting : TextBlock 15 | { 16 | public Greeting() 17 | { 18 | // Initialize this object. 19 | InitializeComponent(); 20 | 21 | // Add your code here 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Samples/HelloWorldB/Model.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui; 2 | 3 | namespace HelloWorldB 4 | { 5 | /*************************************************************************************************** 6 | Model class 7 | ***************************************************************************************************/ 8 | /// 9 | /// Used to model this application's message. Given the simple requirements of this app, having 10 | /// a model class is excessive, but serves as an ideal way to demonstrate how to design 11 | /// models and views. 12 | /// 13 | /// Note that this Model is a plain old CLR type, since it does not inherit from . 14 | /// 15 | public class Model 16 | { 17 | public string Message { get; } = "Hello, World!"; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Samples/Demo/Editors/DecimalEditor.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui; 2 | using Lesarde.Frogui.ComponentModel; 3 | using Lesarde.Frogui.Controls; 4 | using Lesarde.Frogui.Data; 5 | 6 | namespace Demo 7 | { 8 | public class DecimalEditor : NumericEdit, IPropertyEditor 9 | { 10 | /******************************************************************************* 11 | BindToSourceProperty() 12 | *******************************************************************************/ 13 | 14 | void IPropertyEditor.BindToSourceProperty(DependencyObject sourceObject, DependencyProperty sourceProperty) => SetBinding(NumberDecimalProperty, new Binding(sourceProperty, sourceObject) { Mode = BindingMode.TwoWay }); 15 | 16 | public DecimalEditor() 17 | { 18 | TypeFilter = NumericTypeFilter.Decimal; 19 | } 20 | 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Samples/HelloWorldA/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace HelloWorldA 4 | { 5 | /*************************************************************************************************** 6 | Program class 7 | ***************************************************************************************************/ 8 | /// 9 | /// Demonstrates the classic Hello World app. 10 | /// 11 | public class Program 12 | { 13 | /// 14 | /// This is the app entry point. 15 | /// 16 | static void Main(string[] args) 17 | { 18 | // Create and run a new app object 19 | var app = new App(); 20 | app.Run(); 21 | 22 | // Your code here, though generally app-level code should be added to the App class, which 23 | // is the singleton that is created above. 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /Samples/HelloWorldB/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace HelloWorldB 4 | { 5 | /*************************************************************************************************** 6 | Program class 7 | ***************************************************************************************************/ 8 | /// 9 | /// Demonstrates the classic Hello World app. 10 | /// 11 | public class Program 12 | { 13 | /// 14 | /// This is the app entry point. 15 | /// 16 | static void Main(string[] args) 17 | { 18 | // Create and run a new app object 19 | var app = new App(); 20 | app.Run(); 21 | 22 | // Your code here, though generally app-level code should be added to the App class, which 23 | // is the singleton that is created above. 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /Samples/HelloWorldC/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace HelloWorldC 4 | { 5 | /*************************************************************************************************** 6 | Program class 7 | ***************************************************************************************************/ 8 | /// 9 | /// Demonstrates the classic Hello World app. 10 | /// 11 | public class Program 12 | { 13 | /// 14 | /// This is the app entry point. 15 | /// 16 | static void Main(string[] args) 17 | { 18 | // Create and run a new app object 19 | var app = new App(); 20 | app.Run(); 21 | 22 | // Your code here, though generally app-level code should be added to the App class, which 23 | // is the singleton that is created above. 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /Samples/Demo/Examples/_Misc/Calculator/MyAssets.xaml: -------------------------------------------------------------------------------- 1 | 5 | 6 | Lighter 7 | helvetica 8 | #06090E 9 | White 10 | Red 11 | 12 | 13 | 14 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # [](https://github.com/lesarde-co/frogui#frogui)Frog`ui` 2 | 3 | **Frogui** is a UI framework that allows developers familiar with C#, .NET and Visual Studio to build native client _web apps_ using their existing skills, with no need to learn or use JavaScript or other web technologies. Check out our [website](https://lesarde.com/frogui) for an the most up to date information. 4 | 5 | ## [](https://github.com/lesarde-co/frogui#contributing)Live Samples 6 | 7 | The main sample, **Demo**, is hosted [here](https://lesarde-co.github.io/), allowing you to experience true .NET running on the web. 8 | 9 | ## [](https://github.com/lesarde-co/frogui#contributing)Contributing 10 | 11 | This repo contains samples to use with Frogui, all neatly organized in a Visual Studio solution [here](https://github.com/lesarde-co/frogui/tree/master/Samples). Your contributions to the Sample solution are welcomed! -------------------------------------------------------------------------------- /Samples/Demo/Examples/Popup/View.xaml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /Samples/Demo/Editors/MagicSegmenter.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui; 2 | using Lesarde.Frogui.Controls; 3 | using System.Linq; 4 | namespace Demo 5 | { 6 | public abstract class MagicSegmentor : Segmentor 7 | { 8 | public abstract Segment[] Segments { get; } 9 | 10 | public MagicSegmentor() 11 | { 12 | Initialize(); 13 | } 14 | 15 | protected virtual void Initialize() 16 | { 17 | HorizontalAlignment = HorizontalAlignment.Left; 18 | VerticalAlignment = VerticalAlignment.Top; 19 | 20 | SelectedValuePath = new PropertyPath(nameof(Segment.Value)); 21 | 22 | foreach (var cur in Segments) 23 | Items.Add(cur); 24 | 25 | SelectedItem = Items[0]; 26 | } 27 | 28 | public void SelectBySegmentValue(object value) 29 | { 30 | foreach (Segment segment in Items) 31 | if (segment.Value == value || segment.Value.Equals(value)) 32 | { 33 | SelectedItem = segment; 34 | return; 35 | } 36 | } 37 | 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /Samples/Demo/Editors/EnumTextEditor.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui.Controls; 2 | 3 | namespace Demo 4 | { 5 | /*************************************************************************************************** 6 | EnumImageEditor class 7 | ***************************************************************************************************/ 8 | /// 9 | /// Edits an enum property using a whose members display the enum value's name. 10 | /// 11 | /// 12 | public class EnumTextEditor : EnumEditor 13 | { 14 | /******************************************************************************* 15 | PrepSegment() 16 | *******************************************************************************/ 17 | 18 | protected override void PrepSegment(Segment segment, string name, T value) 19 | { 20 | segment.Text = name; 21 | segment.Value = value; 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Samples/Demo/Shared/CartoonView.xaml: -------------------------------------------------------------------------------- 1 | 9 | 10 | 11 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /Samples/Demo/Editors/TextEditor.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui; 2 | using Lesarde.Frogui.ComponentModel; 3 | using Lesarde.Frogui.Controls; 4 | using Lesarde.Frogui.Data; 5 | 6 | namespace Demo 7 | { 8 | /*************************************************************************************************** 9 | TextEditor class 10 | ***************************************************************************************************/ 11 | /// 12 | /// Edits a property. 13 | /// 14 | public class TextEditor : TextBox, IPropertyEditor 15 | { 16 | /******************************************************************************* 17 | BindToSourceProperty() 18 | *******************************************************************************/ 19 | 20 | public void BindToSourceProperty(DependencyObject sourceObject, DependencyProperty sourceProperty) => SetBinding(TextProperty, new Binding(sourceProperty, sourceObject) { Mode = BindingMode.TwoWay }); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Samples/Demo/Shared/BitmapInfoView.xaml: -------------------------------------------------------------------------------- 1 | 10 | 11 | 12 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Samples/HelloWorldB/App.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui; 2 | 3 | namespace HelloWorldB 4 | { 5 | /*************************************************************************************************** 6 | App class 7 | ***************************************************************************************************/ 8 | /// 9 | /// Used for this application's singleton object, deriving from 10 | /// which all single-page apps must do. 11 | /// Note that this is a partial class. 12 | /// 13 | public partial class App : SinglePageApplication 14 | { 15 | /******************************************************************************* 16 | $ 17 | *******************************************************************************/ 18 | /// 19 | /// Creates an object. 20 | /// 21 | public App() 22 | { 23 | InitializeComponent(); 24 | 25 | // Your code here 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Samples/HelloWorldC/App.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui; 2 | 3 | namespace HelloWorldC 4 | { 5 | /*************************************************************************************************** 6 | App class 7 | ***************************************************************************************************/ 8 | /// 9 | /// Used for this application's singleton object, deriving from 10 | /// which all single-page apps must do. 11 | /// Note that this is a partial class. 12 | /// 13 | public partial class App : SinglePageApplication 14 | { 15 | /******************************************************************************* 16 | $ 17 | *******************************************************************************/ 18 | /// 19 | /// Creates an object. 20 | /// 21 | public App() 22 | { 23 | InitializeComponent(); 24 | 25 | // Your code here 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Samples/Demo/Examples/Paper/View.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui; 2 | using Lesarde.Frogui.Controls; 3 | 4 | namespace Demo.Example_Paper 5 | { 6 | /*************************************************************************************************** 7 | View class 8 | ***************************************************************************************************/ 9 | /// 10 | /// Demonstrates the element. 11 | /// 12 | public partial class View : Decorator, IExampleView 13 | { 14 | /*********************************************************** 15 | MainElement property 16 | ***********************************************************/ 17 | 18 | Element IExampleView.MainElement => e_paper; 19 | 20 | /******************************************************************************* 21 | $ 22 | *******************************************************************************/ 23 | 24 | public View() 25 | { 26 | InitializeComponent(); 27 | } 28 | 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /Samples/Demo/App.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui; 2 | using Lesarde.Frogui.Input; 3 | 4 | namespace Demo 5 | { 6 | /*************************************************************************************************** 7 | App class (code-behind) 8 | ***************************************************************************************************/ 9 | /// 10 | /// The application object singleton. inherits from 11 | /// , which indicates that it is meant to be a Single Page GUI 12 | /// Application (SPA). 13 | /// 14 | public partial class App : SinglePageApplication 15 | { 16 | /******************************************************************************* 17 | $ 18 | *******************************************************************************/ 19 | /// 20 | /// Creates an object. 21 | /// 22 | public App() 23 | { 24 | InitializeComponent(); 25 | 26 | // Add user code here 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /Samples/Console/HelloWorld/App.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui; 2 | using System.Threading.Tasks; 3 | 4 | namespace HelloWorldA 5 | { 6 | /*************************************************************************************************** 7 | App class 8 | ***************************************************************************************************/ 9 | /// 10 | /// Used for this application's singleton object, deriving from 11 | /// which all console apps must do. 12 | /// 13 | public class App : ConsoleApplication 14 | { 15 | /// 16 | /// This is where console interaction begins, much like the static main() 17 | /// method in a traditional console app. 18 | /// 19 | public async override Task MainAsync() 20 | { 21 | // Greet the world 22 | Console.WriteLine("Hello, World!"); 23 | 24 | // This await is optional but prevents a compiler warning since this method is async. 25 | await Task.CompletedTask; 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Samples/HelloWorldA/App.cs: -------------------------------------------------------------------------------- 1 | using Lesarde.Frogui; 2 | 3 | namespace HelloWorldA 4 | { 5 | /*************************************************************************************************** 6 | App class 7 | ***************************************************************************************************/ 8 | /// 9 | /// Used for this application's singleton object, deriving from 10 | /// which all single-page apps must do. 11 | /// Note that this is a partial class because it is the code-behind for the App.xaml file. 12 | /// 13 | public partial class App : SinglePageApplication 14 | { 15 | /******************************************************************************* 16 | $ 17 | *******************************************************************************/ 18 | /// 19 | /// Creates an object. 20 | /// 21 | public App() 22 | { 23 | InitializeComponent(); 24 | 25 | // Add your code here 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Samples/Demo/Examples/CheckBox/View.xaml: -------------------------------------------------------------------------------- 1 | 10 | 11 | 12 | 13 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /Samples/Demo/Examples/Paper/View.xaml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | 11 | 12 |