Telerik Forums
UI for WPF Forum
1 answer
98 views
Hello,
create a new WPF application, add references to Telerik.Windows.Controls and Telerik.Windows.Themes.Office2013.

Then, replace App.xaml with:
<Application
  x:Class="WpfApplication1.App"
  StartupUri="MainWindow.xaml">
 
  <Application.Resources>
    <ResourceDictionary>
 
      <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/System.Windows.xaml"/>
        <ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.xaml"/>
      </ResourceDictionary.MergedDictionaries>
 
    <Style x:Name="MyBorderStyle" TargetType="Border">
      <Setter Property="BorderBrush"     Value="Black" />
      <Setter Property="BorderThickness" Value="1" />
    </Style>
 
    </ResourceDictionary>
  </Application.Resources>
 
</Application>

Replace MainWindow.xaml with:
<Window
  x:Class="WpfApplication1.MainWindow"
  Title="MainWindow" Height="350" Width="525">
  <tk:RadListBox Margin="10">
    <tk:RadListBoxItem Content="One" />
    <tk:RadListBoxItem Content="Two" />
    <tk:RadListBoxItem Content="Three" />
  </tk:RadListBox>
</Window>

Run the application: the list box items have a black border around them, as defined in the border style. But that's wrong because this is not a default style, so it should not be applied in this case.

Patrick
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 07 Jan 2014
1 answer
62 views
Hi, I'm using the latest 2013.3 1204 version and I noticed that the call order of the RadPane events has been changed.
In the previous versions, I suppose that the ActivePaneChanged event was first fired and then the Activated event, but in the latest version this order was changed. Am I right? I want to know if this change will be consistent in the upcoming versions as this will cause a substantial change in my application. Thanks!
George
Telerik team
 answered on 07 Jan 2014
6 answers
482 views
Hi,

I'm using the lates version of Telerik and I would like to change the theme to Office2013 of my usercontrol in the constructor so how I can achieve this ?!?

Thank's
Alain
Christie Admin
Top achievements
Rank 1
 answered on 06 Jan 2014
1 answer
174 views
I have an application base on ArcGIS API. Now I want to use rad control, as you know ArcGIS MapPoint used geometry , but I see radmap used geography. How can I convert ArcGIS MapPoint to RadMap Location?

Thanks!
Tsvetie
Telerik team
 answered on 06 Jan 2014
8 answers
187 views
Hi,

i'm using radscheduleview and appointments with custom resources:

private IEnumerable<IResource> resourcesStatus;
 
this.resourcesStatus = new List<IResource>
{
      new Resource(Klassen.Language.GetTextbyCode("Erfasst"), "Status"),
      new Resource(Klassen.Language.GetTextbyCode("Aktiv"), "Status"),
      new Resource(Klassen.Language.GetTextbyCode("Fertig"), "Status"),
};
 
ResourceType resourceTypeStatus = new ResourceType("Status");
resourceTypeStatus.Resources.AddRange(this.resourcesStatus);
 
this.resourceTypes.Add(resourceTypeStatus);

How do i add a selection change event for the resource (If i change the resourceStatus in the AppointmentDialiog, i want to do something)?

Thanks a lot
Best Regards

Merry X-MAS
Yana
Telerik team
 answered on 06 Jan 2014
2 answers
202 views
Hello,

i have only one ToolBar in my View and some items in it. The task is to reorder the items with Drag&Drop function.
Unfortunately i can not found a attribute of RadToolBar to implement it. With telerik DragDropManager works the ToolBar-reorder neither.

Have i missed something or it is no easy to implement it?

Any help will be thankful.

Ivan
Ivan
Top achievements
Rank 1
 answered on 03 Jan 2014
1 answer
167 views

Hello,



We have Q3 2012. 



I'm trying to use a static property to specify the ResultFormatString for an AggregateFunction,

<telerik:GridViewDataColumn.AggregateFunctions>
        <telerikData:SumFunction ResultFormatString="{x:Static l:CustomFormat.CurrencyWithMinus}"/>
</telerik:GridViewDataColumn.AggregateFunctions>

But the property's value (e.g. $#,##0.00) is displayed as a literal in the gridview cell.

We can't use the string format "c" because we need negative values to be prefixed with "-"
rather than having parentheses around them. Can you please tell me if there's some way to make this work?

Thanks much!










E Pons
Top achievements
Rank 1
 answered on 03 Jan 2014
1 answer
93 views
For using Commands with DataForm, i need references of buttons which with a "PART_" prefix.
Find DataForm.FindName("PART_CommitButton")" returns null. Is there any way?
Zhang
Top achievements
Rank 1
 answered on 02 Jan 2014
2 answers
202 views
Hi I have been browsing the forums for quite sometimes now.. I am trying to figure out how to attach RadDragAndDropManager.DropQuery
to my method under my view model. I am using Caliburn micro 

<telerik:RadTreeView Name="Nodes"
                     IsEditable="True"
                     IsLoadOnDemandEnabled="True"
                     ItemTemplate="{StaticResource ItemTemplate}"
                     ItemEditTemplate="{StaticResource EditTemplate}"
                     IsDragDropEnabled="True"
                     telerik:TreeViewSettings.DragDropExecutionMode="New"
 
                     telerik:RadDragAndDropManager.AllowDrop="True"
                     telerik:RadDragAndDropManager.AllowDrag="True" ...>
 
 
    <i:Interaction.Triggers>
        <commands:DragDropQueryRoutedEventTrigger EventName="DropQuery" EventOwnerType="{x:Type telerik:RadDragAndDropManager}">
            <micro:ActionMessage MethodName="OnDropQuery" >
                <micro:Parameter Value="$eventArgs" />
            </micro:ActionMessage>
        </commands:DragDropQueryRoutedEventTrigger>
    </i:Interaction.Triggers>
 
</telerik:RadTreeView>

my method is something like this:

public void OnDropQuery(DragDropQueryEventArgs args)
{
    ...
    ...
    args.Handled = true;
}

but method is not being called... any ideas?

Konrad
Top achievements
Rank 1
 answered on 02 Jan 2014
1 answer
141 views
We are using the telerik:StyleManager.Theme = "Windows8Touch" for TextBox.
The validation errors using IDataErrorInfo are being displayed as seen in the attached screenshot.
Is there a way to have the flyouts automatically align to the Left of the control, if there is no space on the right?
Vanya Pavlova
Telerik team
 answered on 01 Jan 2014
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?