Telerik Forums
UI for WPF Forum
1 answer
86 views
Hello,
I have create a window to manage resources ScheduleView for add/remove resources but when i try to update GroupDescriptions, this still doesn't work.my resourcestype is ok but not my GroupDescriptions. How i can do that?

cordially,

Gat
Vladi
Telerik team
 answered on 19 Jun 2012
1 answer
207 views
BarSeries series = new BarSeries();                 
series.CategoryBinding = new PropertyNameDataPointBinding() { PropertyName = "Name" };                 
series.ValueBinding = new PropertyNameDataPointBinding() { PropertyName = "Value" };                 
series.ShowLabels = true;                 
series.ItemsSource = points;

My ItemsSource is just a list of my datapoint class.
How do I set the label for each point?
I can do it via xaml easy enough. How about code?


<telerik:CategoricalDataPoint Category="1" Value="0.05" Label="Some Point Specific Text"> 


I tried and failed with
             <telerik:BarSeries.LabelDefinitions > 
                    <telerik:ChartSeriesLabelDefinition >
                        <telerik:ChartSeriesLabelDefinition.Template>
                            <DataTemplate>
                                <StackPanel>
                                    <TextBlock Text="{Binding}"></TextBlock>
                                    <TextBlock>
                                    <TextBlock.Text>
                                         <Binding RelativeSource="{RelativeSource FindAncestor, AncestorType={x:Type telerik:BarSeries}}" 
                                                    Path
="DataPoints[0].DataItem.MyLabelProp"/>
                                    </TextBlock.Text>
                                    </TextBlock>
                               </StackPanel>
                            </DataTemplate>
                        </telerik:ChartSeriesLabelDefinition.Template>
                     </telerik:ChartSeriesLabelDefinition>
                </telerik:BarSeries.LabelDefinitions>
Petar Marchev
Telerik team
 answered on 19 Jun 2012
2 answers
114 views
Hi,

On the ImageEditor, we do not wish to display the Toolbox, but only have Zoomin, Zoom out. How to achieve that?
Aracna
Top achievements
Rank 1
 answered on 19 Jun 2012
29 answers
436 views
Hello,

I am not yet a customer. I still hesitate which wpf suite to buy. The one from xx who has a pivot grid which I really need. Or I wait for you creating a pivot grid in wpf. Any chance this gets released somehow in the middle of 2010?

Probably you can not answer this question ;-) Maybe you can tell me the roadmap for 2010? Or is this still a secret?
Milan
Telerik team
 answered on 19 Jun 2012
7 answers
900 views

Hi,

I’m using RadRichText and I’m trying to move the caret to specific offset from the start of the document (or specific row and column).

I saw on the forum that in order to move the caret I need to use
richTextBox.Document.CaretPosition.MoveToPosition

That gets DocumentPosition as parameter. But I can’t create documentPosition from desired text position.

How can I set the caret position from the beginning of the document?

By the way,

The Document position API help page doesn’t work.

(http://www.telerik.com/help/silverlight/telerik.windows.documents-telerik.windows.documents.documentposition_members.html)

Thanks,

Rotem.

Andrew
Telerik team
 answered on 19 Jun 2012
3 answers
127 views
Hello,

I am having some trouble binding a radAreaSparkLine to an ObseravbleCollection of dictionaries.  I am trying to use a radTimeBar using the getting started1 video.  The code I have is below.  When I run parseResourceFile, the resourceItems collection is populated.  However, when I create the radAreaSparkLine, no areaPoints are created, are nothing shows up in the timeBar.  Does it look like I am doing anything incorrectly?

Thanks,
Eric
<telerik:RadTimeBar Grid.Row="2" x:Name="radTimeBar">
    <telerik:RadTimeBar.Intervals>
        <telerik:HourInterval />
        <telerik:MinuteInterval/>
        <telerik:SecondInterval/>
        <telerik:MillisecondInterval/>
    </telerik:RadTimeBar.Intervals>
</telerik:RadTimeBar>

class ResourceItem
{
   public Dictionary<int, double> NumericalResourceValues
    {
        get { return numericalResourceValues ?? (numericalResourceValues = new Dictionary<int, double>()); }
    }
    public Dictionary<int, double> numericalResourceValues;
}

class Resource
{
    public ObservableCollection<ResourceItem> ResourceItems { get; set; }
}

void populateTimeBar()
{
int
startTimeColumnIndex = 1;
int dataColumnIndex = 1;           
var resourceParser = new ResourceParser();
Resource resource = resourceParser.PaserResourceFile(Constants.LogFilePath);
 
var rasl = new RadAreaSparkline
               {
                   ItemsSource = resource.ResourceItems,
                   XValuePath = "NumericalResourceValues[" + startTimeColumnIndex + "]",
                   YValuePath = "NumericalResourceValues[" + dataColumnIndex + "]"
               };
 
this.radTimeBar.Content = rasl;
this.radTimeBar.DataContext = resource.ResourceItems;
}
Yavor
Telerik team
 answered on 19 Jun 2012
1 answer
131 views
Hello,

How can I bind to a dateTime for the xvalues for the sparkline control? It gives me an argumentException if I try.  It seems to want a double value for the xvalue.

Thanks,
Eric
Evgenia
Telerik team
 answered on 19 Jun 2012
2 answers
101 views
Hi,

How do you disable the background colour of an editable region when a document is protected?

See my attached image. Notcie that the editable areas appear yellow. I want to make them transparent.

Thank you,

Rob
Robert
Top achievements
Rank 1
 answered on 18 Jun 2012
0 answers
70 views
Removed
Sam
Top achievements
Rank 1
 asked on 18 Jun 2012
8 answers
1.6K+ views
How do you hide the first column in the grid.  It's the selected row indicator column.  So when you select a cell in a row, the arrow indicator moves to that row.  It's the column that shows up before you data columns are generated.

THanks
Nikhil
Top achievements
Rank 1
 answered on 18 Jun 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?