why in the source code of it you re-invented the wheel?
for example your controls doesn't inherit from the wpf base class of them (except the RadMaskedTextBox which inherits from TextBox)
also the RadMaskedTextBox doesn't support passwords
another example is the Mask Property of it
you wrote it from scratch when you could use MaskedTextProvider
and there are counless examples of stuff like this in your code
i'm sure there are reasons that you talked about before doing this
now my question is what were the considerations to write everything from scratch instead of using or inheriting what already exists in the .net framework and Wpf?
why did you decided to do it?
because even though you put out updates very frequently
doing something like this can open a way for some unexpected infrastractural bug
and also prevents you from getting update to it when a new .net framework is released
lets say i preffer the .net code because they have automated testing for it, so that they will release it without bugs
I'm trying to change the fontstyle of the a radTreeviewItem. In fact, I want to do this within the code when events are fired. I've tried to add a stackpanel with a textblock in the header but it doesn't seems to work. I've also tried this code:
TextElement.SetFontStyle(treeViewItem
, FontStyles.Italic);
<
telerik1:RadGridView
Name
=
"ParametersGridView"
CanUserDeleteRows
=
"False"
CanUserInsertRows
=
"False"
IsReadOnly
=
"False"
AutoExpandGroups
=
"True"
ShowGroupPanel
=
"False"
ShowColumnHeaders
=
"False"
AutoGenerateColumns
=
"False"
HorizontalContentAlignment
=
"Stretch"
HorizontalAlignment
=
"Stretch"
VerticalContentAlignment
=
"Stretch"
VerticalAlignment
=
"Stretch"
RowLoaded
=
"ParametersGridView_RowLoaded"
>
<
telerik1:RadGridView.GroupDescriptors
>
<
telerikData:GroupDescriptor
Member
=
"Category"
SortDirection
=
"Ascending"
/>
</
telerik1:RadGridView.GroupDescriptors
>
<
telerik1:RadGridView.Resources
>
<
DataTemplate
x:Key
=
"GridToolTip"
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
TextBlock
Text
=
"{Binding Description}"
MaxWidth
=
"300"
TextWrapping
=
"Wrap"
/>
</
StackPanel
>
</
DataTemplate
>
</
telerik1:RadGridView.Resources
>
<
telerik1:RadGridView.Columns
>
<
telerik1:GridViewDataColumn
Header
=
"Parameter"
DataMemberBinding
=
"{Binding DisplayName}"
Width
=
"150"
IsReadOnly
=
"True"
/>
<
my:ConfigDataColumn
Header
=
"Value"
DataMemberBinding
=
"{Binding Value,Mode=TwoWay}"
Width
=
"300"
IsReadOnly
=
"False"
/>
<
telerik1:GridViewDataColumn
Header
=
"Category"
DataMemberBinding
=
"{Binding Category}"
IsReadOnly
=
"True"
IsVisible
=
"False"
/>
</
telerik1:RadGridView.Columns
>
</
telerik1:RadGridView
>