New to Telerik UI for WPFStart a free 30-day trial

Represents the content of the CommentsTaskPaneContent.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Controls

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

C#
public class CommentsTaskPaneContent : TaskPaneContent, INotifyPropertyChanged

Inheritance: objectControlBaseTaskPaneContentCommentsTaskPaneContent

Implements: INotifyPropertyChanged

Inherited Members TaskPaneContent.RadSpreadsheetPropertyTaskPaneContent.OnWorkbookChanged()TaskPaneContent.RadSpreadsheetControlBase.GetTemplateChild<T>(string)ControlBase.GetRequiredTemplateChild<T>(string, bool)

Constructors

Initializes a new instance of the CommentsTaskPaneContent class.

C#
public CommentsTaskPaneContent()

Properties

Gets a value of the comment items.

C#
public ObservableCollection<CommentControlViewModel> CommentItems { get; }
Property Value:

The value of the comment items.

Gets or sets the selected item.

C#
public CommentControlViewModel SelectedItem { get; set; }
Property Value:

The selected item.

Methods

Called when active sheet is changed.

C#
protected override void OnActiveSheetChanged()

Overrides: TaskPaneContent.OnActiveSheetChanged()

When overridden in a derived class, is invoked whenever application code or internal processes call .

C#
public override void OnApplyTemplate()

Called when is changed.

C#
protected override void OnCommentsChanged(ShapeCollectionChangedEventArgs<SpreadsheetComment> e)
Parameters:eShapeCollectionChangedEventArgs<SpreadsheetComment>

The ShapeCollectionChangingEventArgs<> that contains the event data.

Overrides: TaskPaneContent.OnCommentsChanged(ShapeCollectionChangedEventArgs<SpreadsheetComment>)

Called when is changing.

C#
protected override void OnCommentsChanging(ShapeCollectionChangingEventArgs<SpreadsheetComment> e)
Parameters:eShapeCollectionChangingEventArgs<SpreadsheetComment>

The ShapeCollectionChangingEventArgs<> that contains the event data.

Overrides: TaskPaneContent.OnCommentsChanging(ShapeCollectionChangingEventArgs<SpreadsheetComment>)

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

C#
public void ResetTheme()

Events

Occurs when a property value changes.

C#
public event PropertyChangedEventHandler PropertyChanged

Implements: INotifyPropertyChanged.PropertyChanged