Smart Gallery v1.1
 
Loading...
Searching...
No Matches
Frame Class Reference

The frame of the gallery. More...

Public Member Functions

void ClearUnusedProperties ()
 Clears the unused properties.
 
object GetProperty (string propertyName)
 Gets the property value of the frame.
 
GetProperty< T > (string propertyName)
 Gets the property value of the frame.
 

Public Attributes

ContentType contentType = new TextureContent()
 The type of the content.
 
PropertyValue[] properties = Array.Empty<PropertyValue>()
 The properties of the frame.
 

Detailed Description

The frame of the gallery.

Member Function Documentation

◆ GetProperty()

object GetProperty ( string propertyName)

Gets the property value of the frame.

Parameters
propertyNameThe name of the property.
Returns
The value of the property.

◆ GetProperty< T >()

T GetProperty< T > ( string propertyName)

Gets the property value of the frame.

Parameters
propertyNameThe name of the property.
Template Parameters
TThe type of the property.
Returns
The value of the property.