INotiftPropertyChanged
ObservableCollection
INotifyCollectionChanged
Count
PumpType
RegEx
net5.0-windows7.0
net48 (.NETFramework,Version=v4.8)
Debug > Window > Exception Settings > tick "Common Language Runtime Exceptions"
completedCount
Task.Yield()
{DependencyProperty.UnsetValue}' is not a valid value
!
?
cLL1
RowDetailsTemplate
csv.Read();
csv.Read(); // skip a row... csv.Read(); // skip a row... csv.Read(); csv.ReadHeader(); for (var index = 0; index < csv.HeaderRecord!.Length; index++) { var value = csv.HeaderRecord[index]; grid.Columns.Add(new GridViewColumn() { Header = csv.HeaderRecord[index], DisplayMemberBinding = new Binding($"[{index}]") }); } while (csv.Read()) { // do work here... }
csv.ReadHeader();
csv.Parser.Record
DataContext
DataBindingFailures
if (PropertyChanged != null) { PropertyChanged.Invoke(this, new PropertyChangedEventArgs(propertyName)); }
DashboardWidget
MainWindow
PictureBox
IEnumerable<ProductTypesData>
ActionResult<IEnumerable<ProductTypesData>>
navigator.online
CollectionViewSource
Contains
<table> @foreach (PantoneColorModel color in Model.Colors) { <td style="background-color: @color.ColorHex;">@Html.DisplayFor(model => color.Name)</td> } </table>
<table> <tbody> <tr> <td style="background-color: #ff0000;">Red</td> </tr> </tbody> </table>
public IActionResult Index() { PantoneColorList list = new PantoneColorList(); list.Colors.Add(new PantoneColorModel { Name = "Red", ColorHex = "#ff0000" }); return View(list); }
finally
try { } catch { tbMessage.Text = "Data Saved"; return; } finally { conn.Close(); }
-1
path[nextCell[0], nextCell[1]] = -1;
using (var dbCtx = new DbContext(connectionString)) { // wraps the database connection and automatically // releases resources avoiding memory leaks }
INotifyPropertyChanged
SelectedItem
SelectedIndex
ComboBox
ItemSource
IndexOf
List
PropertyChanged
eats.order
Time Data FilterCol 10:00 1 Col1 11:00 2 Col1 10:00 3 Col2 11:00 4 Col2
<DataTemplate x:Key="Card-2H"> <Canvas Width="240.110000610352" Height="334.597991943359"> <Path Fill="#FFF7F7F5" StrokeThickness="1" Data="F1M239.112,314.7C239.112,325.137,230.651,333.599,220.213,333.599L19.899,333.599C9.461,333.599,1,325.137,1,314.7L1,19.897C1,9.46,9.461,1,19.899,1L220.213,1C230.651,1,239.112,9.46,239.112,19.897L239.112,314.7z"/> <Path Stroke="#FF231F20" StrokeThickness="1.33299994468689" StrokeMiterLimit="2" Data="F1M239.112,314.7C239.112,325.137,230.651,333.599,220.213,333.599L19.899,333.599C9.461,333.599,1,325.137,1,314.7L1,19.897C1,9.46,9.461,1,19.899,1L220.213,1C230.651,1,239.112,9.46,239.112,19.897L239.112,314.7z"/> <Path Fill="#FFE52C3F" StrokeThickness="1" Data="F1M23.307,57.825C21.644,57.308 19.059,58.217 18.109,61.988 18.029,62.193 17.947,62.189 17.872,61.98 16.501,58.16 14.243,57.325 12.655,57.825 10.303,58.583 8.396,61.388 8.571,64.968 8.617,71.213 14.207,74.359 17.98,80.332 21.755,74.359 27.407,71.223 27.423,64.949 27.749,61.333 25.724,58.571 23.307,57.825"/> <Path Fill="#FFE52C3F" StrokeThickness="1" Data="F1M18.007,80.369C17.997,80.356 17.989,80.344 17.98,80.332 17.972,80.344 17.964,80.356 17.956,80.369L18.007,80.369"/> <Path Fill="#FFE52C3F" StrokeThickness="1" Data="F1M222.131,254.265C218.357,260.237 212.705,263.375 212.688,269.648 212.361,273.264 214.388,276.028 216.804,276.773 218.467,277.289 221.052,276.38 222.003,272.609 222.081,272.404 222.167,272.408 222.24,272.617 223.611,276.436 225.868,277.271 227.456,276.773 229.809,276.015 231.716,273.208 231.54,269.629 231.495,263.385 225.904,260.237 222.131,254.265"/> <Path Fill="#FFE52C3F" StrokeThickness="1" Data="F1M222.107,254.228C222.115,254.241 222.124,254.252 222.131,254.265 222.139,254.252 222.148,254.241 222.156,254.228L222.107,254.228z"/> <Path Fill="#FFE52C3F" StrokeThickness="1" Data="F1M120.057,242.889C120.079,242.923 120.1,242.955 120.121,242.988 120.141,242.955 120.164,242.923 120.185,242.889L120.057,242.889z"/> <Path Fill="#FFE52C3F" StrokeThickness="1" Data="F1M143.649,281.396C143.533,265.783 129.563,257.919 120.121,242.988 110.688,257.919 96.56,265.759 96.521,281.44 95.704,290.481 100.764,297.391 106.807,299.251 110.964,300.541 117.424,298.269 119.8,288.844 119.997,288.328 120.205,288.339 120.393,288.861 123.821,298.411 129.472,300.499 133.444,299.251 139.323,297.353 144.085,290.343 143.649,281.396"/> <Path Fill="#FFE52C3F" StrokeThickness="1" Data="F1M120.044,91.708C120.024,91.675 120.001,91.643 119.98,91.611 119.959,91.643 119.937,91.675 119.916,91.708L120.044,91.708z"/> <Path Fill="#FFE52C3F" StrokeThickness="1" Data="F1M133.304,35.348C129.148,34.056 122.677,36.328 120.303,45.753 120.104,46.269 119.896,46.257 119.708,45.735 116.284,36.184 110.637,34.099 106.668,35.348 100.789,37.244 96.024,44.255 96.461,53.201 96.579,68.816 110.548,76.679 119.98,91.611 129.424,76.679 143.552,68.839 143.591,53.156 144.409,44.117 139.349,37.208 133.304,35.348"/> <Path Fill="#FFE52C3F" StrokeThickness="1" Data="F1M27.429,46.995L24.395,46.981 24.383,48.913 11.636,48.913C11.703,48.468 11.896,47.905 12.252,47.261 12.904,46.075 14.055,44.679 15.435,43.299 16.816,41.913 18.424,40.527 19.989,39.267L19.996,39.263 20.008,39.252C21.901,37.676 23.517,36.512 24.831,35.121 25.483,34.425 26.057,33.663 26.487,32.777 26.919,31.892 27.195,30.896 27.297,29.796 27.319,29.565 27.329,29.317 27.329,29.048 27.328,28.301 27.241,27.396 26.992,26.419 26.617,24.963 25.861,23.323 24.42,22.031 22.981,20.735 20.884,19.888 18.185,19.897 16.019,19.893 14.24,20.457 12.881,21.373 11.863,22.057 11.091,22.921 10.523,2
VirtualMode