文章 UiLikeOptions 类

  • 命名空间: Limyee.Extensibility.Api.Version1
  • 程序集: Limyee.Api.dll

定义

class UiLikeOptions
{
	IDictionary<string,string> ConfigurationOptions { get; set;  }
	string CssClass { get; set;  }
	string Format { get; set;  }
	bool? IncludeTip { get; set;  }
	Guid? LikeTypeId { get; set;  }
	bool? ReadOnly { get; set;  }
}

属性

名称

类型

描述

默认值

选项

ConfigurationOptions

IDictionary<string,string>

Configuration options

CssClass

string

Additional CSS Class(es) to apply to the placeholder

Format

string

Templated string containing tokens identifying if, and where, the Like control should contain a count, toggle link, and 'who likes' message

{count}

{count}, {toggle}, {message}

IncludeTip

bool?

Render a hover tip

LikeTypeId

Guid?

Like Type Id

ReadOnly

bool?

Render the like UI as read-only