ActiveReports 12
FindLast Method

GrapeCity.ActiveReports.v12 Assembly > GrapeCity.ActiveReports.PageReportModel Namespace > StyleSheet Class : FindLast Method
The Predicate delegate that defines the conditions of the element to search for.
Searches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire List.
Syntax
'Declaration
 
Public Function FindLast( _
   ByVal match As Predicate(Of Style) _
) As Style
public Style FindLast( 
   Predicate<Style> match
)

Parameters

match
The Predicate delegate that defines the conditions of the element to search for.

Return Value

The last element that matches the conditions defined by the specified predicate, if found; otherwise, the default value for type T.
Exceptions
ExceptionDescription
match is null.
See Also

Reference

StyleSheet Class
StyleSheet Members