Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

EditingFieldExtensionsWin.TryGetRepositoryItem(String, out RepositoryItem) Method

Attempts to obtain a repository item by the specified name.

Namespace: DevExpress.XtraPrinting.Preview

Assembly: DevExpress.XtraPrinting.v24.2.dll

NuGet Package: DevExpress.Win.Printing

#Declaration

public virtual bool TryGetRepositoryItem(
    string name,
    out RepositoryItem value
)

#Parameters

Name Type Description
name String

The name of an item to be obtained.

value RepositoryItem

A RepositoryItem descendant with the specified name.

#Returns

Type Description
Boolean

true if a repository item has been obtained; otherwise, false.

See Also