Rediger

Del via


CardView object (Outlook)

Represents a view that displays Outlook items as a series of index cards.

Remarks

The CardView object, derived from the View object, allows you to create customizable views that allow you to display Outlook items as index cards.

Outlook provides several built-in CardView objects, and you can also create custom CardView objects. Use the Add method of the Views collection to add a new CardView to a Folder object. Use the Standard property to determine if an existing CardView object is built-in or custom.

You can configure how Outlook items appear within the CardView object. Use the MultiLineFieldHeight property to specify the number of lines used to display multi-line text in each card, the HeadingsFont property to specify the font used to display heading text on each card, and the BodyFont property to specify the font used to display body text on each card. Use the AllowInCellEditing property to allow editing of Outlook item property values in the view, and the ShowEmptyFields property to display empty Outlook item properties in the view. Use the Filter property to determine which Outlook items to display in the view, the ViewFields collection to specify the Outlook item properties to display in each card, and the SortFields collection to specify the Outlook item properties by which Outlook items are sorted in the view.

The definition for each CardView object is stored in Extensible Markup Language (XML) format. Use the XML property to work with the XML definition for the CardView object.

Use the Apply method to apply any changes made to the CardView object to the current view. Use the Save method to persist any changes made to the CardView object. Use the LockUserChanges property to allow or prevent changes to the user interface for the view.

You can change built-in CardView objects, but you cannot delete them. Use the Delete method to delete a custom CardView object. Use the Reset method to reset the properties of a built-in CardView object to their default values.

Methods

Name
Apply
Copy
Delete
GoToDate
Reset
Save

Properties

Name
AllowInCellEditing
Application
AutoFormatRules
BodyFont
Class
Filter
HeadingsFont
Language
LockUserChanges
MultiLineFieldHeight
Name
Parent
SaveOption
Session
ShowEmptyFields
SortFields
Standard
ViewFields
ViewType
Width
XML

See also

Outlook Object Model Reference

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.