Photon Fusion 2.0.4

Public Member Functions | Properties | List of all members
MaxStringByteCountAttribute Class Reference

Specifies that the string field should be drawn as a text field with a maximum byte count for given encoding. More...

Inherits DrawerPropertyAttribute.

Public Member Functions

 MaxStringByteCountAttribute (int count, string encoding)
 Initializes a new instance of the MaxStringByteCountAttribute class with the specified byte count and encoding. More...
 

Properties

int ByteCount [get]
 Maximum byte count for the string. More...
 
string Encoding [get]
 The encoding of the string. More...
 

Detailed Description

Specifies that the string field should be drawn as a text field with a maximum byte count for given encoding.

Constructor & Destructor Documentation

◆ MaxStringByteCountAttribute()

MaxStringByteCountAttribute ( int  count,
string  encoding 
)

Initializes a new instance of the MaxStringByteCountAttribute class with the specified byte count and encoding.

Parameters
count
encoding

Property Documentation

◆ ByteCount

int ByteCount
get

Maximum byte count for the string.

◆ Encoding

string Encoding
get

The encoding of the string.