Telerik Forums
UI for WPF Forum
1 answer
247 views

Hi:

   How can I Merge Multiple xaml files with different styles and retain their respective styles?

 And generate a directory automatically?

   

Tanya
Telerik team
 answered on 06 Apr 2018
1 answer
197 views

I had a xaml document Contains the following contents:

<t:TableRow>
        <t:TableCell ColumnSpan="1" PreferredWidth="Fixed,284.066680908203" RowSpan="1">
          <t:Paragraph StyleName="a">
            <t:ReadOnlyRangeStart AnnotationID="21" />
            <t:Span Text="the master Name: John" />
            <t:ReadOnlyRangeEnd AnnotationID="21" />
          </t:Paragraph>
          <t:Paragraph StyleName="a">
            <t:ReadOnlyRangeStart AnnotationID="22" />
            <t:Span ForeColor="#FFFFFFFF" Text="c4c030c8-c0d1-4fa3-8d06-92e34ee25072" />
            <t:ReadOnlyRangeEnd AnnotationID="22" />
          </t:Paragraph>
          <t:Paragraph StyleName="a">
            <t:ReadOnlyRangeStart AnnotationID="23" />
            <t:Span Text="Sign:" />
            <t:ReadOnlyRangeEnd AnnotationID="23" />
          </t:Paragraph>
          <t:Paragraph StyleName="a">
            <t:ReadOnlyRangeStart AnnotationID="25" />
            <t:Span Text="IdNo:" />
            <t:ReadOnlyRangeEnd AnnotationID="25" />
          </t:Paragraph>
          <t:Paragraph StyleName="a">
            <t:ReadOnlyRangeStart AnnotationID="26" />
            <t:Span Text="Date:" />
            <t:ReadOnlyRangeEnd AnnotationID="26" />
            <t:ReadOnlyRangeStart AnnotationID="27" />
            <t:Span  Text="     "  UnderlineDecoration="Line" />
            <t:ReadOnlyRangeEnd AnnotationID="27" />
            <t:ReadOnlyRangeStart AnnotationID="28" />
            <t:Span  Text="year" />
            <t:ReadOnlyRangeEnd AnnotationID="28" />
            <t:ReadOnlyRangeStart AnnotationID="29" />
            <t:Span  Text="     " UnderlineDecoration="Line" />
            <t:ReadOnlyRangeEnd AnnotationID="29" />
            <t:ReadOnlyRangeStart AnnotationID="30" />
            <t:Span   Text="month" />
            <t:ReadOnlyRangeEnd AnnotationID="30" />
            <t:ReadOnlyRangeStart AnnotationID="31" />
            <t:Span  Text="     " UnderlineDecoration="Line" />
            <t:ReadOnlyRangeEnd AnnotationID="31" />
            <t:ReadOnlyRangeStart AnnotationID="32" />
            <t:Span Text="day" />
            <t:ReadOnlyRangeEnd AnnotationID="32" />
          </t:Paragraph>
          <t:Paragraph />
          <t:Paragraph StyleName="a">
            <t:ReadOnlyRangeStart AnnotationID="33" />
            <t:Span Text="the slave  Name: slave" />
            <t:ReadOnlyRangeEnd AnnotationID="33" />
          </t:Paragraph>
          <t:Paragraph StyleName="a">
            <t:ReadOnlyRangeStart AnnotationID="34" />
            <t:Span ForeColor="#FFFFFFFF" Text="076b7ada-a564-454a-9933-3ca6f856876f" />
            <t:ReadOnlyRangeEnd AnnotationID="34" />
          </t:Paragraph>
          <t:Paragraph StyleName="a">
            <t:ReadOnlyRangeStart AnnotationID="35" />
            <t:Span Text="Sign:" />
            <t:ReadOnlyRangeEnd AnnotationID="35" />
          </t:Paragraph>
          <t:Paragraph StyleName="a">
            <t:ReadOnlyRangeStart AnnotationID="37" />
            <t:Span Text="IdNo:" />
            <t:ReadOnlyRangeEnd AnnotationID="37" />
          </t:Paragraph>
          <t:Paragraph StyleName="a">
            <t:ReadOnlyRangeStart AnnotationID="38" />
            <t:Span Text="Date:" />
            <t:ReadOnlyRangeEnd AnnotationID="38" />
            <t:ReadOnlyRangeStart AnnotationID="39" />
            <t:Span  Text="     " UnderlineDecoration="Line" />
            <t:ReadOnlyRangeEnd AnnotationID="39" />
            <t:ReadOnlyRangeStart AnnotationID="40" />
            <t:Span   Text="year" />
            <t:ReadOnlyRangeEnd AnnotationID="40" />
            <t:ReadOnlyRangeStart AnnotationID="41" />
            <t:Span  Text="     " UnderlineDecoration="Line" />
            <t:ReadOnlyRangeEnd AnnotationID="41" />
            <t:ReadOnlyRangeStart AnnotationID="42" />
            <t:Span  Text="month" />
            <t:ReadOnlyRangeEnd AnnotationID="42" />
            <t:ReadOnlyRangeStart AnnotationID="43" />
            <t:Span  Text="     " UnderlineDecoration="Line" />
            <t:ReadOnlyRangeEnd AnnotationID="43" />
            <t:ReadOnlyRangeStart AnnotationID="44" />
            <t:Span  Text="day" />
            <t:ReadOnlyRangeEnd AnnotationID="44" />
          </t:Paragraph>
        </t:TableCell>
        <t:TableCell ColumnSpan="1" PreferredWidth="Fixed,284.066680908203" RowSpan="1">
          <t:Paragraph StyleName="a">
            <t:Span Text="legal Name:" />
          </t:Paragraph>
          <t:Paragraph StyleName="a">
            <t:Span Text="Sign:" />
          </t:Paragraph>
          <t:Paragraph StyleName="a">
            <t:Span Text="IdNo:" />
          </t:Paragraph>
          <t:Paragraph StyleName="a">
            <t:Span Text="Date: " />
            <t:Span  Text="     " UnderlineDecoration="Line" />
            <t:Span  Text="year" />
            <t:Span  Text="  " UnderlineDecoration="Line" />
            <t:Span  Text="month" />
            <t:Span  Text="  " UnderlineDecoration="Line" />
            <t:Span  Text="day" />
          </t:Paragraph>
          <t:Paragraph FontSize="18.6666660308838" StyleName="a">
            <t:Paragraph.ParagraphSymbolPropertiesStyle>
              <s:SpanProperties FontSize="18.6666660308838" FontWeight="Bold" />
            </t:Paragraph.ParagraphSymbolPropertiesStyle>
          </t:Paragraph>
        </t:TableCell>
      </t:TableRow>
    </t:Table>

 

what i knew is the string "the master Name:" how can I get the next span with the text "c4c030c8-c0d1-4fa3-8d06-92e34ee25072" (the text is I want to get) 

 

 

Tanya
Telerik team
 answered on 06 Apr 2018
2 answers
155 views
I have a problem 
<telerik:VisualizationLayer x:Name="informationLayer" ItemsSource="{Binding MapItems}"
                                           ClusteringEnabled="True"
                                           ClusterItemTemplate="{StaticResource ClusterTemplate}"/>

 

when I re-create my item source like

MapItems = new ObservableCollection<MapItem>(list);

Clustering disappear


Martin
Telerik team
 answered on 06 Apr 2018
2 answers
121 views

Curiously; after the last update thad i did, the icon that I configured in the contentImage isn't shown. It has relation with the update or maybe I am configuring something in an erroneous way.

Thank you so much

 

My code: 

Telerik.WinControls.UI.RadDesktopAlert deskp = new Telerik.WinControls.UI.RadDesktopAlert();
deskp.ContentImage = Properties.Resources.alert_danger;
deskp.ThemeName = "TelerikMetroBlue";
deskp.AutoCloseDelay = 6;
deskp.Opacity = (float)1.0;
deskp.PopupAnimationFrames = 20;
deskp.PopupAnimationDirection = (Telerik.WinControls.UI.RadDirection)Enum.Parse(typeof(Telerik.WinControls.UI.RadDirection), "Up");
deskp.FadeAnimationFrames = 20;
deskp.ShowPinButton = false;
deskp.ShowOptionsButton = false;
deskp.CaptionText = "<html><b><span style=\"font-size:14;color:#44224D;\">" + title + "</span></b></html>";
deskp.FixedSize = new System.Drawing.Size(450, 120);


deskp.ContentText = "<html><span style=\"font-size:12;\">" + msg + "</span></html>";
deskp.Show();

wiquezada
Top achievements
Rank 1
 answered on 05 Apr 2018
1 answer
769 views

Hi Team,

 

I am trying to set minheight and maxheight for row while using text wrapping in radgridview.

Please let me know any way to handle rowheight.

 

Thanks,

Amit Kulha

Vladimir Stoyanov
Telerik team
 answered on 05 Apr 2018
11 answers
169 views
Hello, I should introduce Dates values in a pivot, with the possibility to find min and max values. Is it possible? Thanks in advance,
best regards
Kalin
Telerik team
 answered on 05 Apr 2018
1 answer
287 views

Hi Team,

 

I am working on behavior for Radgridview and need help on below query:

- How to create grid Data Control behavior(e.g control grid row height)

 

Thanks,

Amit Kulha

Dilyan Traykov
Telerik team
 answered on 05 Apr 2018
3 answers
405 views
Hello,
I am trying to switch an RadTreeViewItem to EditMode on mouse double click.
When I do that, the content of the textbox is empty, isn't it a bug?
Thanks
Martin Ivanov
Telerik team
 answered on 05 Apr 2018
3 answers
94 views
Hi,
In my project, I can't set all data in ItemsSource.
I want when user filter, I set data to ItemsSource(note: I don't want Telerik to filter current data).

I handle the Filtered event and I set My data to ItemsSource in this function. but Telerik filters new data again.
What am I do to force Telerik don't filtering data by itself?
thanks.
Stefan
Telerik team
 answered on 04 Apr 2018
7 answers
167 views

Hi,

I want to be able to redefine the default style of the RadDatePicker to make it look like the rest of our components.

To do so, I put a RadDatePicker in my application, I clicked on it via the 'Document Outline' and chose Edit template -> Edit a copy. I then noticed that the RadDatePicker was now experiencing an issue when I "zoom out" to the "Decade" view : If I click on the left arrow (-10 years) or the right arrow (+10 years), the header text correctly changes (2000 -> 1990 / 2000 -> 2010) but the displayed years in the "calendar" section of the date picker aren't affected by the change. I get the same problems if you zoom out to the "hundred years" view.

Here is the simplest project I could put together to show the issue : https://drive.google.com/open?id=1d_GcDKeUfdmifYbo6KedukOIKtyHSiVo

Here are some screenshots of the problem : https://drive.google.com/open?id=182PK161CCZc_1k4m9rogxl_lSXIF8Lc1

Here are the repro steps :

1. Create a new project

2. Add 2 RadDatePicker

3. Select one of the two RadDatePicker, Edit template -> Edit a copy

4. Notice described issue

I hope this is enough for you to help me with this issue, I guess it must be something missing in the copied style that breaks this mecanism.

Thank you for your time :)

Louis

 

 

Stefan
Telerik team
 answered on 04 Apr 2018
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
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
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
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?