Hi,
What is a way to add custom connection properties? How can i serializing this custom connection properties.
For example i want to add MyCustomCode:string property to connection.
Hi,
I have the following problem:
If you shrink a container (by dragging with the mouse
from one of the container corners), that is in a group with its content, both
the container and its content is shrinking.
{See Pic1}
Unfortunately, you can shrink the container only as
small as the content was before the start of the shrink operation.
{See Pic2}
This behavior seems to be ok if the content do not
shrink with the container because of the container should not be smaller as its
content.
But why do the shrink operation stops if the content
is shrinking too?
Regards,
I have RadCartesianChart and i am create the AreaSeries view code behind:
RadCartesianChart chart =
new
RadCartesianChart();
chart.HorizontalAxis =
new
CategoricalAxis();
chart.VerticalAxis =
new
LinearAxis();
chart.HorizontalAxis.Visibility = System.Windows.Visibility.Collapsed;
chart.VerticalAxis.Visibility = System.Windows.Visibility.Collapsed;
// Get the style
Style smartLabelStyle = (Style)
this
.Resources[
"labelStyle"
];
// Create new labelDefinition and set its DefaultVisualStyle property
ChartSeriesLabelDefinition labelDefinition =
new
ChartSeriesLabelDefinition()
{
DefaultVisualStyle = smartLabelStyle,
Format =
"{0:N2}"
,
Margin =
new
Thickness(-40, 0, 0, 0)
};
MyInstanse =
new
AreaSeries();
// this is my series
MyInstanse .ShowLabels =
true
;
MyInstanse .LabelDefinitions.Add(labelDefinition);
chart.Series.Add(MyInstanse);
And
this
is
my XAML label style:
<Style x:Key=
"labelStyle"
TargetType=
"TextBlock"
>
<Setter Property=
"Foreground"
Value=
"Gainsboro"
/>
<Setter Property=
"Background"
Value=
"Transparent"
/>
</Style>So all i want to add is border around my Label like in this example:
http://docs.telerik.com/devtools/wpf/controls/radchartview/features/labels/smart-labels.html
I've been using some usefull telerik controls for a while, at this point I'm adding some more options voor accessibility to my applications. Narrator or other screen readers are able to read AutomationProperties like Name and HelpText. But when setting these properties on the RadRichTextBox they are not reqognized by windows and the applications reading the AutomationProperties (tool to check: Inspect)
The AutomationMode of the Telerik AutomationManager is already set to FrameworkOnly. When something else is selected all my automationproperties on controls are ignored.
Here is the used xaml:
01.
<
telerik:RadRichTextBox
HorizontalAlignment
=
"Stretch"
02.
VerticalAlignment
=
"Stretch"
03.
x:Name
=
"radRichTextBox"
04.
BorderThickness
=
"0"
05.
Margin
=
"0,2,0,0"
06.
DocumentInheritsDefaultStyleSettings
=
"True"
07.
Focusable
=
"True"
08.
FontSize
=
"13"
09.
FontFamily
=
"Segoe UI"
10.
AutomationProperties.Name
=
"Message for chat"
>
11.
<
i:Interaction.Behaviors
>
12.
<
behaviors:TelerikRichTextBoxOptionsBehavior
/>
13.
<
behaviors:ChatRadTextBoxBehavior
/>
14.
</
i:Interaction.Behaviors
>
15.
<
telerik:RadRichTextBox.InputBindings
>
16.
<
KeyBinding
Modifiers
=
"Control"
17.
Key
=
"Tab"
18.
Command
=
"{Binding Path=DataContext.NextTabCommand, RelativeSource={RelativeSource AncestorType=Window, Mode=FindAncestor}}"
/>
19.
<
KeyBinding
Modifiers
=
"Control+Shift"
20.
Key
=
"Tab"
21.
Command
=
"{Binding Path=DataContext.PreviousTabCommand, RelativeSource={RelativeSource AncestorType=Window, Mode=FindAncestor}}"
/>
22.
</
telerik:RadRichTextBox.InputBindings
>
23.
</
telerik:RadRichTextBox
>
24.
<
telerik:TxtDataProvider
x:Name
=
"TextDataProvider"
25.
Text
=
"{Binding PlainContent, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
26.
RichTextBox
=
"{Binding ElementName=radRichTextBox}"
/>
Any suggestions how I can fix this or about what I'm doing wrong?