or
<telerik:RadListBox ItemsSource="{Binding MasterViewModel.ElementTypeCollectionView}" Margin="3" BorderThickness="0" SelectionMode="Extended"> <telerik:RadListBox.ItemTemplate> <DataTemplate> <CheckBox Checked="CheckBox_Checked" IsChecked="{Binding RelativeSource={RelativeSource AncestorType={x:Type telerik:RadListBoxItem}}, Path=IsSelected}"> <CheckBox.Content> <TextBlock> <TextBlock.Text> <MultiBinding StringFormat="{}{0} {1}"> <Binding Path="ElementTypeCode" /> <Binding Path="Description" /> </MultiBinding> </TextBlock.Text> </TextBlock> </CheckBox.Content> </CheckBox> </DataTemplate> </telerik:RadListBox.ItemTemplate></telerik:RadListBox><telerik:GridViewCheckBoxColumn DataMemberBinding="{Binding Revoked}" AutoSelectOnEdit="True" Header="Revoked" UniqueName="Revoked" Width="Auto" IsReadOnly="False" FooterTextAlignment="Right" CellStyle="{StaticResource GridCellStyle}" /><telerik:GridViewDataColumn DataMemberBinding="{Binding RevokedBy}" Header="Revoked By" UniqueName="RevokedBy" Width="Auto" IsReadOnly="{Binding Revoked}" FooterTextAlignment="Right" CellStyle="{StaticResource GridCellStyle}" /> <telerik:GridViewDataColumn DataMemberBinding="{Binding RevokedDateTime}" DataFormatString="dd/MM/yyyy HH:mm:ss" Header="Revoked Date Time" UniqueName="RevokedDateTime" Width="Auto" IsReadOnly="{Binding Revoked}" FooterTextAlignment="Right" CellStyle="{StaticResource GridCellStyle}"> <telerik:GridViewDataColumn.CellEditTemplate> <DataTemplate> <WrapPanel Grid.Column="1" Grid.ColumnSpan="2" Grid.Row="4"> <telerik:RadDateTimePicker Margin="0 5 5 5" Width="250" DisplayFormat="Short" InputMode="DatePicker" DateSelectionMode="Day" DateTimeWatermarkContent="Select Date" MaxWidth="155" MinWidth="155" SelectedDate="{Binding RevokedDate, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/> <telerik:RadMaskedDateTimeInput Margin="5" Culture="en-GB" EmptyContent="Enter Time" InputBehavior="Replace" Mask="HH:mm:ss" SelectionOnFocus="SelectAll" TextMode="MaskedText" Value="{Binding RevokedTime, Mode=TwoWay}"/> </WrapPanel> </DataTemplate> </telerik:GridViewDataColumn.CellEditTemplate> </telerik:GridViewDataColumn>/// <summary>/// The agreements./// </summary>private ObservableCollection<NotificationAgreement> agreements;/// <summary>/// Gets or sets the agreements./// </summary>public ObservableCollection<NotificationAgreement> Agreements{ get { return this.agreements ?? (this.agreements = new ObservableCollection<NotificationAgreement>()); } set { this.agreements = value; this.RaisePropertyChanged(() => this.Agreements); }}/// <summary>/// Gets or sets a value indicating whether revoked./// </summary>public bool Revoked{ get { return this.revoked; } set { this.revoked = value; this.RaisePropertyChanged(() => this.Revoked); }}Hi,
I am aware of annotation support of pdf viewer and has gone through this link. But these annotations give us destination that are of type location i.e. the destination has page number and offset.
In pdf writer, when we create a destination and we give a name. And I want to navigate based on the named text.
We are using pdf viewer for viewing help manual and page number will not work as any update in the manual that alters the page no will need update of the code and rebuilding the software. So we need bookmark kind of support where string can be used to navigate instead of page number.
This is an urgent requirement.
Thanks
Ritwick