Click here to Skip to main content
15,886,110 members
Articles / Desktop Programming / WPF

CurionLib Dynamic Data Entry Forms

Rate me:
Please Sign up or sign in to vote.
5.00/5 (20 votes)
11 Aug 2013CPOL16 min read 54.7K   5.5K   44  
Dynamic data forms.
Imports System.Windows.Controls
Imports System.Windows

Namespace Controls.Form
	Public MustInherit Class BaseColumnFactory
		Implements IMakeControl
		Public Property Header As String = String.Empty
		Public Property Path As String = String.Empty
		Public Property StyleName As String = String.Empty
		Public Property Height As Double = 23
		Public Property Width As Double = 200
		Public Property SuppressHeading As Boolean = False
		Public Property Stretch As Boolean = True
		Public Property IsRequired As Boolean = False
		Public Property IsReadonly As Boolean = False
		Public Property MaxWidth As Double = Defaults("Form.MaxWidth")
		Public MustOverride Function CreateControl(form As ItemForm) As FrameworkElement Implements IMakeControl.CreateControl
		Sub New()
		End Sub
	End Class
End Namespace

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
I enjoy my wife, living in the woods, my 7 dogs, and learning new things. I like to play with UI stuff and model based coding.

Comments and Discussions