Beispiel #1
0
 /// <summary>
 /// Get the display width for icons when using <paramref name="mode"/>.
 /// </summary>
 /// <param name="mode">The display mode to query the width for.</param>
 /// <returns>The display width for the selected mode.</returns>
 int GetListmodeItemWidth(FileDisplayMode mode)
 {
     return(_iconModeWidths[(int)mode]);
 }
Beispiel #2
0
 /// <summary>
 /// Set the display width for icons when using <paramref name="mode"/>.
 /// </summary>
 /// <param name="mode">The display mode to set the width for.</param>
 /// <param name="width">The display width to use.</param>
 void SetListmodeItemWidth(FileDisplayMode mode, int width)
 {
     _iconModeWidths[(int)mode] = width;
 }