Class
CommentsTaskPaneContent

Represents the content of the CommentsTaskPaneContent.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Controls

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
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

CommentsTaskPaneContent()

Initializes a new instance of the CommentsTaskPaneContent class.

Declaration

cs-api-definition
public CommentsTaskPaneContent()

Properties

CommentItems

Gets a value of the comment items.

Declaration

cs-api-definition
public ObservableCollection<CommentControlViewModel> CommentItems { get; }

Property Value

ObservableCollection<CommentControlViewModel>

The value of the comment items.

SelectedItem

Gets or sets the selected item.

Declaration

cs-api-definition
public CommentControlViewModel SelectedItem { get; set; }

Property Value

CommentControlViewModel

The selected item.

Methods

OnActiveSheetChanged()

Called when active sheet is changed.

Declaration

cs-api-definition
protected override void OnActiveSheetChanged()

Overrides TaskPaneContent.OnActiveSheetChanged()

OnApplyTemplate()

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

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnCommentsChanged(ShapeCollectionChangedEventArgs<SpreadsheetComment>)

Called when is changed.

Declaration

cs-api-definition
protected override void OnCommentsChanged(ShapeCollectionChangedEventArgs<SpreadsheetComment> e)

Parameters

e

ShapeCollectionChangedEventArgs<SpreadsheetComment>

The ShapeCollectionChangingEventArgs<> that contains the event data.

Overrides TaskPaneContent.OnCommentsChanged(ShapeCollectionChangedEventArgs<SpreadsheetComment>)

OnCommentsChanging(ShapeCollectionChangingEventArgs<SpreadsheetComment>)

Called when is changing.

Declaration

cs-api-definition
protected override void OnCommentsChanging(ShapeCollectionChangingEventArgs<SpreadsheetComment> e)

Parameters

e

ShapeCollectionChangingEventArgs<SpreadsheetComment>

The ShapeCollectionChangingEventArgs<> that contains the event data.

Overrides TaskPaneContent.OnCommentsChanging(ShapeCollectionChangingEventArgs<SpreadsheetComment>)

OnInitialized(EventArgs)

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

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

ResetTheme()

Declaration

cs-api-definition
public void ResetTheme()

Events

PropertyChanged

Occurs when a property value changes.

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged