[]
        
(Showing Draft Content)

C1.Win.C1Preview.C1PreviewTextSearchPanel

C1PreviewTextSearchPanel Class

Displays a text search panel allowing to find text in the connected preview pane.

Namespace: C1.Win.C1Preview
Assembly: C1.Win.PrintPreview.8.dll
Syntax
[ToolboxBitmap(typeof(C1PreviewTextSearchPanel), "C1PreviewTextSearchPanel.png")]
[Docking(DockingBehavior.Ask)]
public class C1PreviewTextSearchPanel : UserControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl, INotifyPropertyChanged

Constructors

Name Description
C1PreviewTextSearchPanel()

Initializes a new instance of the C1PreviewTextSearchPanel class.

Properties

Name Description
DesiredVisible

Gets or sets a value indicating whether the text search panel should be shown.

FindWhatLabel

Gets the label containing the "Find What" label.

FindWhatText

Gets or sets the text of the "Find What:" label.

FlatStyle

Gets or sets the FlatStyle of buttons and checkboxes on the text search panel.

HideButton

Gets the button that hides the text search panel.

HideButtonText

Gets or sets the text of the hide button.

MatchCaseCheckBox

Gets the "Match Case" checkbox.

MatchCaseText

Gets or sets the text of the "Match Case" checkbox.

MatchWordCheckBox

Gets the "Match Whole Word" checkbox.

MatchWordText

Gets or sets the text of the "Math Whole Word" checkbox.

PageCaptionText

Gets or sets the text of the caption of the "Page" column in the result list.

PreviewPane

Gets or sets the preview pane to which this text search panel is connected.

ResultListBackColor

Gets or sets the search result list background color.

ResultListBorderStyle

Gets or sets the border style of the search result list.

ResultListFont

Gets or sets the search result list font.

ResultListForeColor

Gets or sets the search result list text color.

ResultListHideSelection

Gets or sets a value indicating whether the search result list selection is removed when the control loses focus.

ResultListHotTracking

Gets or sets a value indicating whether the search result list items appear as links when the mouse hovers over them.

ResultListHoverSelection

Gets or sets a value indicating whether a search result list item is selected when the mouse hovers over it.

ScaleChildren

Gets a value that determines the scaling of child controls.

SearchButton

Gets the button that starts the search.

SearchButtonText

Gets or sets the text of the hide button.

SearchResultsListView

Gets the search results list view.

SearchText

Gets or sets the search text.

SearchTextBackColor

Gets or sets the search text background color.

SearchTextBorderStyle

Gets or sets the search text border style.

SearchTextBox

Gets the text box for entering the search text.

SearchTextFont

Gets or sets the search text font.

SearchTextForeColor

Gets or sets the search text color.

SearchUpCheckBox

Gets the "Search Up" checkbox.

SearchUpText

Gets or sets the text of the "Search Up" checkbox.

TextCaptionText

Gets or sets the text of the caption of the "Text" column in the result list.

Methods

Name Description
Dispose(bool)

Clean up any resources being used.

DoSearch()

Shows the text search panel, puts focus into the search text box.

DoSearchAgain()

Repeats the last search.

DoSearchAgainBackward()

Repeats the last search and select the previous occurrence.

OnPropertyChanged(string)

Raises the PropertyChanged event.

OnVisibleChanged(EventArgs)

For internal use.

ProcessCmdKey(ref Message, Keys)

For internal use.

ResetFindWhatText()

Resets the FindWhatText property to its default value.

ResetHideButtonText()

Resets the HideButtonText property to its default value.

ResetMatchCaseText()

Resets the MatchCaseText property to its default value.

ResetMatchWordText()

Resets the MatchWordText property to its default value.

ResetPageCaptionText()

Resets the PageCaptionText property to its default value.

ResetPreviewPane()

Resets the PreviewPane property to its default value.

ResetResultListBackColor()

Resets the ResultListBackColor property to its default value.

ResetResultListFont()

Resets the ResultListFont property to its default value.

ResetResultListForeColor()

Resets the ResultListForeColor property to its default value.

ResetSearch()

Clears the search text and removes selection from the preview pane.

ResetSearchButtonText()

Resets the SearchButtonText property to its default value.

ResetSearchTextBackColor()

Resets the SearchTextBackColor property to its default value.

ResetSearchTextFont()

Resets the SearchTextFont property to its default value.

ResetSearchTextForeColor()

Resets the SearchTextForeColor property to its default value.

ResetSearchUpText()

Resets the SearchUpText property to its default value.

ResetTextCaptionText()

Resets the TextCaptionText property to its default value.

ScaleControl(SizeF, BoundsSpecified)

Scales a control's location, size, padding and margin.

ShouldSerializeFindWhatText()

Indicates whether the FindWhatText property should be serialized.

ShouldSerializeHideButtonText()

Indicates whether the HideButtonText property should be serialized.

ShouldSerializeMatchCaseText()

Indicates whether the MatchCaseText property should be serialized.

ShouldSerializeMatchWordText()

Indicates whether the MatchWordText property should be serialized.

ShouldSerializePageCaptionText()

Indicates whether the PageCaptionText property should be serialized.

ShouldSerializePreviewPane()

Indicates whether the PreviewPane property should be serialized.

ShouldSerializeResultListBackColor()

Indicates whether the ResultListBackColor property should be serialized.

ShouldSerializeResultListFont()

Indicates whether the ResultListFont property should be serialized.

ShouldSerializeResultListForeColor()

Indicates whether the ResultListForeColor property should be serialized.

ShouldSerializeSearchButtonText()

Indicates whether the SearchButtonText property should be serialized.

ShouldSerializeSearchTextBackColor()

Indicates whether the SearchTextBackColor property should be serialized.

ShouldSerializeSearchTextFont()

Indicates whether the SearchTextFont property should be serialized.

ShouldSerializeSearchTextForeColor()

Indicates whether the SearchTextForeColor property should be serialized.

ShouldSerializeSearchUpText()

Indicates whether the SearchUpText property should be serialized.

ShouldSerializeTextCaptionText()

Indicates whether the TextCaptionText property should be serialized.

Events

Name Description
DesiredVisibleChanged

Event fired when the DesiredVisible property has changed.

PropertyChanged

Occurs when a property of the text search panel that is not inherited from the base class changes.